CVE-2024-58374
JSON

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 packageVersionsReported by
Hongjing Century e-HR0CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-89

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

Sources

SourceRecordLicence
CVE ListCVE-2024-58374 changed 2026-08-13CVE Terms of Use
NVDCVE-2024-58374 changed 2026-10-01Public domain