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

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-58374?
CVE-2024-58374 is a high-severity vulnerability in Hongjing Century E-Hr, classified under SQL Injection. CVSS score: 7.5/10. Published 2026-08-13.
How severe is CVE-2024-58374?
High severity. CVSS v3 base score is 7.5 out of 10.