CVE-2024-58374: Hongjing e-HR - SQL Injection
- Cve: CVE-2024-58374
- Name: Hongjing e-HR - SQL Injection
- 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).
- Impact: Remote attackers can retrieve sensitive database contents including user credentials, leading to information disclosure.
- Remediation: Update to the latest version of Hongjing e-HR that patches the SQL injection vulnerability.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00745
- Epss percentile: 0.55721
- Assignee: [email protected]
- Published at: 2026-08-13T18:17:16Z
- Age in days: 103
- Modified at: 2026-10-01T23:10:00Z
- References total: 5
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-58374
- Nvd status: deferred
- Checked, none or zero: patch available, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-08-13 | — | no |
References
| Url | Source | Tags |
|---|---|---|
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-58374 | vulncheck | Vulncheck Reported Exploitation |
| https://www.cve.org/CVERecord?id=CVE-2024-58374 | vulncheck | Vulncheck Reported Exploitation |
| https://cn-sec.com/archives/2926383.html | nvd | |
| https://www.ddpoc.com/DVB-2024-7391.html | nvd | |
| https://www.vulncheck.com/advisories/hongjing-e-hr-unauthenticated-sql-injection-via-getsdutytree | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-08-13
- Remote: yes
- Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts