Secunia Logo  
 
dotProject SQL Injection and Cross-Site Scripting
Secunia Advisory: SA31681
Release Date: 2008-08-29
Last Update: 2008-09-04
Popularity: 3,280 views

Critical:
Less critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:dotProject 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-3886
CVE-2008-3887


Description:
C1c4Tr1Z has discovered some vulnerabilities in dotProject, which can be exploited by malicious users to conduct SQL injection attacks, and by malicious people to conduct cross-site scripting attacks.

1) Input passed to the "inactive" parameter in index.php (when "m" is set to "tasks"), "date" in index.php (when "m" is set to "calendar" and "a" to "day_view"), "callback" in index.php (when "m" is set to "public", "a" is set to "calendar", and "dialog" is set to "1"), and "type" in index.php (when "m" is set to "ticketsmith") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Successful exploitation of this vulnerability requires that the target user has valid user credentials.

2) Input passed to the "tab" parameter in index.php (when "m" is set to "projects") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability allows e.g. retrieval of administrator usernames and password hashes, but requires valid user credentials.

3) Input passed to the "user_id" parameter in index.php (when "m" is set to "admin" and "a" to "viewuser") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires valid administrator credentials.

The vulnerabilities are confirmed in version 2.1.2. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised. Grant user access to trusted people only.

Provided and/or discovered by:
C1c4Tr1Z

Changelog:
2008-09-04: Added CVE reference.

Original Advisory:
http://packetstorm.linuxsecurity.com/0808-exploits/dotproject-sqlxss.txt


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 7
New vulnerabilities: 11
Updated advisories: 17

Moderately // 99 views
PHPAuctions Multiple Vulnerabilities
Moderately // 150 views
Ubuntu update for xterm
Less // 166 views
Ubuntu update for samba

5th Jan, 2009
New advisories: 15
New vulnerabilities: 33
Updated advisories: 65

Moderately // 498 views
NPDS Multiple Vulnerabilities

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Internet Explorer Data Binding Memory Corruption Vulnerability // 138 views
2. VMware "vmware-authd" Denial of Service Vulnerability // 106 views
3. PHPAuctions Multiple Vulnerabilities // 87 views
4. SemanticScuttle Cross-Site Request Forgery Vulnerabilities // 63 views
5. SolucionWeb "id_area" SQL Injection Vulnerability // 50 views
6. Ubuntu update for xterm // 42 views
7. Poll Pro Cross-Site Request Forgery Vulnerability // 41 views
8. Samba Root File System Access Security Issue // 35 views
9. Links SSL Verification Security Issue // 33 views
10. Ubuntu update for samba // 33 views