CVE-2023-54399 Hongjing e-HR < 8.2 SQL Injection via /servlet/codesettree
Unauthenticated attackers can exploit SQL injection in Hongjing e-HR to read arbitrary database content, including credentials.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-54399?
CVE-2023-54399 is a critical SQL injection vulnerability in Hongjing e-HR, published on 18 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2023-54399?
How do I fix CVE-2023-54399?
No fix has been published for CVE-2023-54399 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-54399 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-54399 exists.
Sources
Also known as GHSA-6j7f-83xh-j3x3.