CVE-2024-58352 Details
Description
Landray OA contains an unauthenticated HQL injection vulnerability that allows unauthenticated attackers to query arbitrary Hibernate entity classes by injecting malicious HQL syntax into the uid POST parameter of the wechatLoginHelper.do endpoint. Attackers can exploit the lack of input sanitization in the string-concatenated filter expression passed to the Hibernate findList() call to extract sensitive data such as administrator password hashes and, with sufficient database privileges, perform file-write operations enabling remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-03-11 (UTC).
A vulnerability allowing unauthenticated HQL injection has been identified in Landray OA. This issue arises in the wechatLoginHelper.do endpoint, where attackers can inject malicious HQL syntax into the uid POST parameter. The vulnerability exploits inadequate input sanitization in the filter expression concatenated as a string, which is then passed to the Hibernate findList() method. This exploitation could lead to the unauthorized querying of Hibernate entity classes, allowing attackers to extract sensitive information such as administrator password hashes. Furthermore, with appropriate database privileges, this vulnerability could be leveraged to write files on the server, facilitating remote code execution.
It is recommended to implement proper input validation and sanitization for the uid parameter in the wechatLoginHelper.do endpoint to prevent HQL injection. Additionally, reviewing and patching any affected versions of Landray OA is advised.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 2, 2026CISA-ADP
Assessed Jul 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.csdn.net/fushuang333/article/details/136377020 | [email protected] | ExploitTechnical Description |
| https://blog.csdn.net/qq_39342001/article/details/137354047 | [email protected] | ExploitTechnical Description |
| https://cn-sec.com/archives/2532828.html | [email protected] | ExploitTechnical Description |
| https://www.vulncheck.com/advisories/landray-oa-unauthenticated-hql-injection-via-wechatloginhelper-do | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-564 | SQL Injection: Hibernate | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Landray OA | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 2, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2026 | New CVE Received | [email protected] |
Volerion