---------------------------------------------------------------------- Want a new job? http://secunia.com/secunia_security_specialist/ http://secunia.com/hardcore_disassembler_and_reverse_engineer/ ---------------------------------------------------------------------- TITLE: dotProject SQL Injection and Cross-Site Scripting SECUNIA ADVISORY ID: SA31681 VERIFY ADVISORY: http://secunia.com/advisories/31681/ CRITICAL: Less critical IMPACT: Cross Site Scripting, Manipulation of data, Exposure of sensitive information WHERE: >From remote SOFTWARE: dotProject 2.x http://secunia.com/product/8083/ 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 ORIGINAL ADVISORY: http://packetstorm.linuxsecurity.com/0808-exploits/dotproject-sqlxss.txt ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------