SQL injection vulnerability in the updateStatus function in lib/models/benefits/Hsp.php in OrangeHRM before 2.7 allows remote authenticated users to execute arbitrary SQL commands via the hspSummaryId parameter to plugins/ajaxCalls/haltResumeHsp.php. NOTE: some of these details are obtained from third party information.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/53433 | vdb entry exploit |
http://osvdb.org/81743 | vdb entry |
https://www.htbridge.com/advisory/HTB23080 | exploit |
http://secunia.com/advisories/49072 | third party advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/75472 | vdb entry |
http://blog.orangehrm.com/2012/04/24/orangehrm-27-stable-release-with-complete-localization/ | patch |