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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Hongjing | e-HR | < 8.2 | 8.2 |
References
- CNVD-2023-08743 third-party-advisory
- CN-SEC Blog exploit
- CNblog exploit
- CloudSEK Research technical-description
- https://www.vulncheck.com/advisories/hongjing-e-hr-sql-injection-via-servlet-codesettree third-party-advisory