Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2024-58352 – Unauthenticated HQL Injection Leading to Credential Theft and RCE – Landray OA (…

Be the first to know when new zero-days emerge:

Summary

CVE-2024-58352 is an unauthenticated Hibernate Query Language (HQL) injection vulnerability in Landray OA (蓝凌OA), an enterprise Office Automation platform developed by Shenzhen Landray Software Co., Ltd. Rated 8.7 HIGH under CVSS 4.0 and 7.5 HIGH under CVSS 3.1, the flaw allows a remote, unauthenticated attacker to inject malicious HQL into the wechatLoginHelper.do endpoint, enabling extraction of administrator credential hashes and — under elevated database privileges — remote code execution. Active exploitation was first confirmed by the Shadowserver Foundation on March 11, 2024, well before formal CVE assignment.

Technical details

  • Root cause: User-supplied input in the uid POST parameter is concatenated directly into a Hibernate findList() filter expression without any sanitization, enabling arbitrary HQL injection (CWE-564: SQL Injection — Hibernate). The injection supports error-based techniques, such as use of updatexml(), to extract data from Hibernate entity classes such as SysOrgPerson.
  • Trigger conditions: A single unauthenticated HTTP POST request to /third/wechat/wechatLoginHelper.do carrying a malicious uid value is sufficient to trigger exploitation — no credentials, prior session, or user interaction of any kind are required.
  • Attack vector: Network-accessible endpoint with no authentication, no user interaction, and low attack complexity.
  • Impact: Attackers can query arbitrary Hibernate entity classes and extract sensitive data, including administrator login names and password hashes. If the underlying database account holds file-write privileges, attackers can write arbitrary files to the server filesystem, escalating to remote code execution (RCE). A public proof-of-concept demonstrating error-based injection against this endpoint is available on GitHub.

Affected software

  • Shenzhen Landray Software Co., Ltd. — Landray OA (Office Automation): All versions (no bounded version range has been defined by the vendor or CNA)

Severity

  • CVSS 4.0 Base Score: 8.7 HIGH — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
  • CVSS 3.1 Base Score: 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Mitigation and recommended actions

  • No vendor patch documented: No official patch has been published by Landray for this vulnerability. Organizations should monitor Landray’s official security channels for remediation updates.
  • Block the vulnerable endpoint: Immediately restrict access to /third/wechat/wechatLoginHelper.do at the network perimeter, reverse proxy, or WAF layer to prevent unauthenticated POST requests from reaching the application.
  • Remove internet exposure where unnecessary: If Landray OA instances do not require public internet access, isolate them from internet-facing configurations without delay.
  • Audit credentials for compromise: Given confirmed in-the-wild exploitation beginning March 11, 2024, treat all Landray OA administrator accounts as potentially compromised. Rotate administrator passwords and audit for unauthorized access.
  • Review access logs: Inspect web server logs for unexpected POST requests to wechatLoginHelper.do as an indicator of prior or ongoing exploitation attempts.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge