PT-2014-2229
CVE-2012-1506
·
Published
2014-09-17
·
Updated
2017-08-29
Description by
CVSS 2.0
6.5
MediumMetricsAV:N/AC:L/Au:S/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions
OrangeHRM versions prior to 2.7
Description
The issue allows remote authenticated users to execute arbitrary SQL commands. This is achieved via the
hspSummaryId parameter to the "plugins/ajaxCalls/haltResumeHsp.php" endpoint, specifically targeting the updateStatus function in the lib/models/benefits/Hsp.php file.Recommendations
For versions prior to 2.7, update to version 2.7 or later to resolve the issue. As a temporary workaround, consider restricting access to the "plugins/ajaxCalls/haltResumeHsp.php" endpoint or disabling the
updateStatus function in the lib/models/benefits/Hsp.php file until a patch is available. Avoid using the hspSummaryId parameter in the affected endpoint until the issue is resolved. Found an issue in the description? Have something to add? Feel free to write us 👾