Date: 14 Apr 2004 12:06:58 +0200
From: SecuriTeam <[email protected]>
To: [email protected]Subject: [UNIX] Multiple Vulnerabilities in Tutos (Cross Site Scripting, Path Disclosure, SQL Injection)
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Multiple Vulnerabilities in Tutos (Cross Site Scripting, Path Disclosure,
SQL Injection)
------------------------------------------------------------------------
SUMMARY
<http://www.tutos.org> TUTOS is "a tool to manage the organizational
needs of small groups, teams, departments, to do this it provides some
web-based tools". The product has been found to contain multiple
vulnerabilities.
DETAILS
Cross Site Scripting:
Multiple exploitable pages were found in Tutos that cause script execution
on client's computer by following a crafted URL. An attacker can input
specially crafted links and/or other malicious scripts.
Path Disclosure:
These vulnerabilities would allow a remote user to determine the full path
to the web root directory and other potentially sensitive information. A
remote user submitting a specially crafted HTTP request can trigger this
vulnerability.
Exploits:
Cross Site Scripting:
In many Tutos forms for create new items like :
- http://[tutos]/php/company_new.php
- http://[tutos]/php/app_new.php
- http://[tutos]/php/task_new.php
- http://[tutos]/php/[xxxx]_new.php
The hostile code could be:
[script]alert("Cookie="+document.cookie)[/script]
(Open a window with the cookie of the visitor)
(Replace [] by <>)
Path Disclosure / SQL Injection:
The affected page is note_overview.php :
http://[tutos]/php/note/note_overview.php?id=1;
The navigator display:
Detail :
SELECT DISTINCT n.* FROM notes n WHERE n.id = 1; ORDER by
creation DESC
TUTOS Version: 1.1.20030715
PHP Version: "xxx"
PHP Config: "xxx"
APACHE Version: "xxx"
Browser: "xxx"
DB User : tutos
DB Alias : TUTOS database
URL: /tutos/php/note/note_overview.php
Request: /tutos/php/note/note_overview.php?id=1;
Called by: "xxx"
.. (and the directory structure)
Solution:
Upgrade your Tutos version to 1.1.20040412.
Workaround:
Cross Site Scripting:
Use the function php eregi_replace to filter the input data.
Vendor status:
2004-01-13 Vulnerability discovered
2004-01-13 The vendor has reportedly been notified
2004-01-16 First response - Working on the security fixes
2004-04-12 Bugfix update (version 1.1.20040412)
2004-04-13 Public disclosure
ADDITIONAL INFORMATION
The information has been provided by <mailto:[email protected]>
Fran?ois SORIN.
The original article can be found at:
<http://www.kereval.com/a,20040413100957.html>
http://www.kereval.com/a,20040413100957.html
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.