---------------------------------------------------------------------- Secunia presentations @ RSA Conference 2012, San Francisco, USA, 27 Feb-02 March Listen to our Chief Security Specialist, Research Analyst Director, and Director Product Management & Quality Assurance discuss the industry's key topics. Also, visit the Secunia stand #817. Find out more: http://www.rsaconference.com/events/2012/usa/index.htm ---------------------------------------------------------------------- TITLE: TestLink Multiple SQL Injection Vulnerabilities SECUNIA ADVISORY ID: SA48054 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/48054/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=48054 RELEASE DATE: 2012-02-22 DISCUSS ADVISORY: http://secunia.com/advisories/48054/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/48054/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=48054 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: Multiple vulnerabilities have been discovered in TestLink, which can be exploited by malicious users and malicious people to conduct SQL injection attacks. 1) Input passed via the "req_spec_id" parameter to lib/requirements/reqSpecAnalyse.php, lib/requirements/reqSpecPrint.php, and lib/requirements/reqSpecView.php 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 the "Requirement view" permission. This vulnerability is confirmed in version 1.8.5b. Prior versions may also be affected. 2) Input passed via the "root_node" and "node" parameters to lib/ajax/getrequirementnodes.php and lib/ajax/gettprojectnodes.php is not properly sanitised in the "display_children()" function in lib/ajax/getrequirementnodes.php and lib/ajax/gettprojectnodes.php before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 3) Input passed via the "cfield_id" parameter to lib/cfields/cfieldsEdit.php (when "do_action" is set to "edit") 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 the "Custom field management" permission. 4) Input passed via the "tplan_id" parameter to lib/plan/planMilestonesEdit.php (when "doAction" is set to "create") and the "id" parameter to lib/plan/planMilestonesEdit.php (when "doAction" is set to "edit") 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 the "Test Plan planning" permission. 5) Input passed via the "req_spec_id" parameter to lib/requirements/reqImport.php 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 the "Requirement view" and "Requirement management" permissions. Vulnerabilities #2 through #5 are confirmed in version 1.9.3. Prior versions may also be affected. SOLUTION: Update to version 1.9.3 and install patch. Please see vendor's advisory for more information. PROVIDED AND/OR DISCOVERED BY: Juan M. Natal, INTECO. ORIGINAL ADVISORY: http://archives.neohapsis.com/archives/bugtraq/2012-02/0104.html http://mantis.testlink.org/view.php?id=4906 OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXPLOIT: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/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 ----------------------------------------------------------------------