8.7high
Hongjing e-HR Unauthenticated SQL Injection via getSdutyTree
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Hongjing Century e-HR | 0 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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).
NVD (es)
Hongjing e-HR contiene una vulnerabilidad de inyección SQL no autenticada en el endpoint del servlet getSdutyTree que permite a atacantes remotos no autenticados acceder a recursos protegidos al proporcionar una secuencia de salto de ruta en la URI de la solicitud para eludir el filtro de autenticación oauthservlet. Los atacantes pueden inyectar cargas útiles SQL basadas en UNION a través del parámetro codeitemid no saneado en la consulta subyacente de Microsoft SQL Server para recuperar contenido sensible de la base de datos, incluidas las credenciales de usuario. La evidencia de explotación fue observada por primera vez por la Shadowserver Foundation el 30-07-2024 (UTC).
References
| https://www.ddpoc.com/DVB-2024-7391.html | third-party-advisory | |
| https://cn-sec.com/archives/2926383.html | exploit, technical-description | |
| https://www.vulncheck.com/advisories/hongjing-e-hr-unauthenticated-sql-injection-via-getsdutytree | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58374 changed 2026-08-13 | CVE Terms of Use |
| NVD | CVE-2024-58374 changed 2026-10-01 | Public domain |