Credential disclosure via unauthenticated getSdutyTree SQL injection
Published Aug 13, 2026 · Updated Aug 13, 2026
SQL injection in the getSdutyTree servlet in Hongjing e-HR allows remote attackers to retrieve database credentials without authentication. The oauthservlet filter accepts a traversal-bearing URI, after which getSdutyTree places the unsanitized codeitemid value into a Microsoft SQL Server query. Successful UNION-based queries disclose protected database contents, including stored user credentials, without requiring an account.
Summary
What happened
SQL injection in the getSdutyTree servlet in Hongjing e-HR allows remote attackers to retrieve database credentials without authentication. The oauthservlet filter accepts a traversal-bearing URI, after which getSdutyTree places the unsanitized codeitemid value into a Microsoft SQL Server query. Successful UNION-based queries disclose protected database contents, including stored user credentials, without requiring an account.
The record
- CVE
- CVE-2024-58374
- Published
- Aug 13, 2026
- Updated
- Aug 13, 2026
- Vendor
- Beijing Hongjing Century Software Co., Ltd.
- Product
- Hongjing e-HR
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 30, 2024Exploitation reportedShadowserver exploitation observation
- Aug 13, 2026CVE publishedPublication date reported by the CVE source.
- Aug 13, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CN-SEC getSdutyTree exploit disclosureproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Shadowserver exploitation observationreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo