CVE-2012-1506 SQL injection in n/a

Medium 6.5 Published Updated

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.

Sources

Also known as GHSA-h44f-xp3m-jxrx.

Is CVE-2012-1506 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free