Description
|
|
High-Tech Bridge SA has discovered multiple vulnerabilities in OrangeHRM, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks.
1) Input passed to the "uniqcode" and "isAdmin" parameters in index.php (when "menu_no_top" is set to "eim") 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.
2) Input passed via the URL to lib/controllers/CentralController.php (when "uniqcode" is set to "USR", "VIEW" is set to "MAIN", and "isAdmin" is set to "1") 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.
3) Input passed via the "id" parameter to lib/controllers/CentralController.php (when "capturemode" is set to "updatemode" and "uniqcode" is set to "NAT") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of this vulnerability requires an "HR Admin" user.
The vulnerabilities are confirmed in version 2.6.11. Other versions may also be affected.
|