SQL Injection in Hongjing Century E-Hr
CVE-2024-58374
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).
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.007, 55.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hongjing Century E-Hr — versions 0
Weakness classification (CWE)
References
- DayDayPoC Advisory (third-party-advisory)
- CN-SEC Disclosure (technical-description, exploit)
- www.vulncheck.com/advisories/hongjing-e-hr-unauthenticated-sql-injection-via-ge… (third-party-advisory)