CVE-2012-1506
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
OrangeHRM 2.7 RC - '/plugins/ajaxCalls/haltResumeHsp.php?hspSummaryId' SQL Injection
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| orangehrm | orangehrm | {"endIncluding":"2.6.12.1"} | |
| orangehrm | orangehrm | 2.6 | |
| orangehrm | orangehrm | 2.6.0 | |
| orangehrm | orangehrm | 2.6.0.1 | |
| orangehrm | orangehrm | 2.6.1 | |
| orangehrm | orangehrm | 2.6.2 | |
| orangehrm | orangehrm | 2.6.3 | |
| orangehrm | orangehrm | 2.6.4 | |
| orangehrm | orangehrm | 2.6.5 | |
| orangehrm | orangehrm | 2.6.6 | |
| orangehrm | orangehrm | 2.6.7 | |
| orangehrm | orangehrm | 2.6.8 | |
| orangehrm | orangehrm | 2.6.8.1 | |
| orangehrm | orangehrm | 2.6.9 | |
| orangehrm | orangehrm | 2.6.10 | |
| orangehrm | orangehrm | 2.6.11 | |
| orangehrm | orangehrm | 2.6.11.2 | |
| orangehrm | orangehrm | 2.6.11.3 | |
| orangehrm | orangehrm | 2.6.12 | |
References
- http://blog.orangehrm.com/2012/04/24/orangehrm-27-stable-release-with-complete-localization/
- http://osvdb.org/81743
- http://secunia.com/advisories/49072
- http://www.securityfocus.com/bid/53433
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75472
- https://www.htbridge.com/advisory/HTB23080
- http://blog.orangehrm.com/2012/04/24/orangehrm-27-stable-release-with-complete-localization/
- http://osvdb.org/81743
- http://secunia.com/advisories/49072
- http://www.securityfocus.com/bid/53433
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75472
- https://www.htbridge.com/advisory/HTB23080
CWEs
CWE-89
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.