CVE-2024-58374
Received Received - Intake

Hongjing e-HR Path Traversal SQL Injection

Vulnerability report for CVE-2024-58374, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: 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).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
hongjing e-hr *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an unauthenticated SQL injection vulnerability in Hongjing e-HR's getSdutyTree servlet endpoint. Attackers can bypass authentication by using path traversal in the request URI and inject UNION-based SQL payloads through the unsanitized codeitemid parameter. This allows access to protected resources and retrieval of sensitive database contents like user credentials.

Detection Guidance

To detect this vulnerability, monitor network traffic for suspicious GET requests targeting the /getSdutyTree endpoint with unsanitized codeitemid parameters. Check for UNION-based SQL payloads in requests to /sduty/getSdutyTree. Inspect logs for path traversal sequences in URIs bypassing authentication filters.

Impact Analysis

This vulnerability allows remote attackers to access sensitive data including user credentials without authentication. It can lead to data breaches, unauthorized access to protected resources, and potential data manipulation or deletion in the underlying Microsoft SQL Server database.

Compliance Impact

This vulnerability can severely impact compliance with GDPR and HIPAA by enabling unauthorized access to sensitive personal data. GDPR requires protection of personal data while HIPAA mandates safeguards for protected health information. A breach could result in legal penalties, fines, and reputational damage.

Mitigation Strategies

Immediately restrict access to the /getSdutyTree and /sduty/getSdutyTree endpoints via network rules. Apply input validation to sanitize the codeitemid parameter. Monitor for exploitation attempts and update to the latest version if a patch becomes available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2024-58374. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart