What’s Vulnerable › Vulnerabilities

CVE-2023-54399: Hongjing e-HR < 8.2 SQL Injection via /servlet/codesettree

Description

Hongjing e-HR before 8.2 contains a SQL injection vulnerability in the /servlet/codesettree endpoint where the categories query parameter is passed to a database query without sanitization after HRMS-encoding is stripped. An unauthenticated remote attacker can supply a crafted UNION SELECT payload to read arbitrary database content, including credential tables such as operuser. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.

Affected products

How to fix

Upgrade to a fixed version: Hongjing e-HR 8.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-54399 or the next vulnerability affects your stack