CVE-2012-1506

medium
Published 2014-09-17 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

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

Exploit likelihood
20%
Patch ETA
โ€”

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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-37142 webapps php verified
High-Tech Bridge SA ยท 2012-05-09

OrangeHRM 2.7 RC - '/plugins/ajaxCalls/haltResumeHsp.php?hspSummaryId' SQL Injection

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
orangehrmorangehrm{"endIncluding":"2.6.12.1"}
orangehrmorangehrm2.6
orangehrmorangehrm2.6.0
orangehrmorangehrm2.6.0.1
orangehrmorangehrm2.6.1
orangehrmorangehrm2.6.2
orangehrmorangehrm2.6.3
orangehrmorangehrm2.6.4
orangehrmorangehrm2.6.5
orangehrmorangehrm2.6.6
orangehrmorangehrm2.6.7
orangehrmorangehrm2.6.8
orangehrmorangehrm2.6.8.1
orangehrmorangehrm2.6.9
orangehrmorangehrm2.6.10
orangehrmorangehrm2.6.11
orangehrmorangehrm2.6.11.2
orangehrmorangehrm2.6.11.3
orangehrmorangehrm2.6.12

References

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.