CVE-2024-58374: Hongjing e-HR Unauthenticated SQL Injection via getSdutyTree
Hongjing e-HR contains an unauthenticated SQL injection vulnerability in the getSdutyTree servlet endpoint that allows remote unauthenticated attackers to access protected resources by supplying a path traversal sequence in the request URI to bypass the oauthservlet authentication filter. Attackers can inject UNION-based SQL payloads through the unsanitized codeitemid parameter into the underlying Microsoft SQL Server query to retrieve sensitive database contents including user credentials. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-07-30 (UTC).
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-58374?
CVE-2024-58374 has a high severity rating of 7.5.
How do I fix CVE-2024-58374?
Fixing CVE-2024-58374 involves applying security patches provided by Hongjing or implementing proper input validation to prevent SQL injection.
What type of vulnerability is CVE-2024-58374?
CVE-2024-58374 is an unauthenticated SQL injection vulnerability affecting the getSdutyTree servlet in Hongjing e-HR.
What impact does CVE-2024-58374 have on systems?
CVE-2024-58374 allows remote attackers to access protected resources by bypassing the oauthservlet authentication filter.
Which software is affected by CVE-2024-58374?
CVE-2024-58374 affects the Hongjing e-HR application and utilizes Microsoft SQL Server.