CVE-2012-5367 SQL injection in n/a

Medium 6.0 Published Updated

Remote authenticated administrators can execute arbitrary SQL commands via CSRF attacks in OrangeHRM, potentially compromising database integrity.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2012-5367?

CVE-2012-5367 is a medium-severity SQL injection vulnerability in n/a, published on 3 Dec 2012. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Multiple SQL injection vulnerabilities in OrangeHRM 2.7.1 RC 1 allow remote authenticated administrators to execute arbitrary SQL commands via the sortField parameter to (1) viewCustomers, (2) viewPayGrades, or (3) viewSystemUsers in symfony/web/index.php/admin/, as demonstrated using cross-site request forgery (CSRF) attacks.

Weakness: CWE-89

Which versions are affected by CVE-2012-5367?

It affects 1 product.

Products include Orangehrm Orangehrm.

How do I fix CVE-2012-5367?

No fix has been published for CVE-2012-5367 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-5367 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-5367 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-m5vh-g3xf-grvj.

Is CVE-2012-5367 in your software?

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

Check your SBOMs for free