CVE-2015-7391 in TestLinkinfo

Summary

by MITRE

Multiple cross-site scripting (XSS) vulnerabilities in TestLink before 1.9.14 allow remote attackers to inject arbitrary web script or HTML via the (1) selected_end_date or (2) selected_start_date parameter to lib/results/tcCreatedPerUserOnTestProject.php; the (3) containerType parameter to lib/testcases/containerEdit.php; the (4) filter_tc_id or (5) filter_testcase_name parameter to lib/testcases/listTestCases.php; the (6) useRecursion parameter to lib/testcases/tcImport.php; the (7) targetTestCase or (8) created_by parameter to lib/testcases/tcSearch.php; or the (9) HTTP Referer header to third_party/user_contribution/fakeRemoteExecServer/client4fakeXMLRPCTestRunner.php.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/19/2019

The CVE-2015-7391 vulnerability represents a critical cross-site scripting flaw affecting TestLink versions prior to 1.9.14, exposing multiple attack vectors that could enable remote code execution through malicious web script injection. This vulnerability falls under the CWE-79 category of Cross-Site Scripting, specifically targeting input validation weaknesses in web application parameters. The flaw manifests across several endpoints within the TestLink testing framework, creating a wide attack surface that adversaries could exploit to compromise user sessions and execute unauthorized commands.

Multiple parameters across different PHP scripts demonstrate the vulnerability's scope, with the selected_end_date and selected_start_date parameters in tcCreatedPerUserOnTestProject.php serving as initial entry points for XSS attacks. The containerType parameter in containerEdit.php and filter_tc_id/filter_testcase_name parameters in listTestCases.php further extend the attack surface to include test case management functionalities. Additionally, the useRecursion parameter in tcImport.php and targetTestCase/created_by parameters in tcSearch.php create additional vectors that could be leveraged to inject malicious scripts into the application's response handling.

The vulnerability extends to the HTTP Referer header in the fakeRemoteExecServer component, demonstrating how indirect input sources can create security risks within third-party integrations. This particular attack vector is particularly concerning as it allows adversaries to manipulate the referer header to inject malicious scripts into the XMLRPC test runner client, potentially leading to unauthorized command execution on the target system. The exploitation of these parameters could enable attackers to steal session cookies, perform unauthorized actions on behalf of users, or redirect victims to malicious websites.

The operational impact of CVE-2015-7391 is significant as it affects core testing functionalities within TestLink, potentially compromising the integrity of test results and user data. Attackers could exploit these vulnerabilities to execute arbitrary code within the context of a victim's browser session, leading to session hijacking, data exfiltration, or further network compromise. The vulnerability's presence in multiple components suggests a systemic input validation failure that could be exploited in chained attacks targeting different aspects of the application's functionality. Organizations using TestLink versions before 1.9.14 face elevated risk of unauthorized access and potential system compromise through these XSS vulnerabilities.

Mitigation strategies should prioritize immediate patching to TestLink version 1.9.14 or later, which addresses the identified input validation flaws. Organizations should implement comprehensive input sanitization across all user-supplied parameters, particularly those used in dynamic content generation and user interface rendering. The implementation of Content Security Policy headers can provide additional protection against XSS attacks by restricting script execution within the application context. Regular security assessments and input validation reviews should be conducted to prevent similar vulnerabilities from emerging in other application components, with particular attention to third-party integration points like the fakeRemoteExecServer component that demonstrated indirect attack vectors through HTTP headers.

Reservation

09/29/2015

Disclosure

09/26/2017

Moderation

accepted

CPE

ready

EPSS

0.00757

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!