{"id":"CVE-2012-1506","url":"https://www.cyber-defence.io/tools/cve/CVE-2012-1506","generatedAt":"2026-10-27T23:18:49.984Z","title":"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.","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.","published":"2014-09-17T14:55:03.000Z","lastModified":"2026-06-16T23:39:39.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":6.5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P"},"cwe":["CWE-89"],"affected":["orangehrm/orangehrm"],"epss":{"score":0.01304,"percentile":0.70314,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2012-05-09","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":37142,"kind":"exploit","title":"OrangeHRM 2.7 RC - '/plugins/ajaxCalls/haltResumeHsp.php?hspSummaryId' SQL Injection","url":"https://www.exploit-db.com/exploits/37142","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/37142.txt","file":"exploits/php/webapps/37142.txt","published":"2012-05-09","added":"2012-05-09","updated":"2015-05-29","author":"High-Tech Bridge SA","type":"webapps","platform":"php","port":null,"verified":true,"codes":["CVE-2012-1506","OSVDB-81743"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/53433/info"}]},"verdict":{"level":"high","text":"A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 1.3%. Treat it as high on anything reachable from the internet."},"changes":[],"references":[{"url":"http://blog.orangehrm.com/2012/04/24/orangehrm-27-stable-release-with-complete-localization/","tags":["Patch"],"source":"cve@mitre.org"},{"url":"http://osvdb.org/81743","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/49072","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/53433","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75472","source":"cve@mitre.org"},{"url":"https://www.htbridge.com/advisory/HTB23080","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://blog.orangehrm.com/2012/04/24/orangehrm-27-stable-release-with-complete-localization/","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/81743","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/49072","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/53433","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75472","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.htbridge.com/advisory/HTB23080","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-1506","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}