CVE-2012-1506 SQL injection in n/a
Authenticated users can execute arbitrary SQL commands via the hspSummaryId parameter in OrangeHRM, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-1506?
CVE-2012-1506 is a medium-severity SQL injection vulnerability in n/a, published on 17 Sep 2014. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2012-1506?
It affects 1 product.
Products include Orangehrm Orangehrm.
How do I fix CVE-2012-1506?
No fix has been published for CVE-2012-1506 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2012-1506 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1506 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
- CVE-2007-1193 Other in n/a
- CVE-2025-66224 OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection
- CVE-2019-12839 Command injection in n/a
- CVE-2025-66225 OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow
- CVE-2025-66289 OrangeHRM is Vulnerable to Persistent Session Access Due to Missing Invalidation After User Disable and Password Change
Sources
Also known as GHSA-h44f-xp3m-jxrx.