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.
|