CVE-2012-5367 SQL injection in n/a
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.
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-m5vh-g3xf-grvj.