Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-14085

CVE-2025-14085: Youlai-mall RCE Vulnerability

CVE-2025-14085 is a remote code execution vulnerability in Youlai-mall affecting versions 1.0.0 and 2.0.0. Attackers can exploit the orderId parameter in the orders API endpoint. This article covers technical details, affected versions, impact, and mitigation strategies.

Published:

CVE-2025-14085 Overview

CVE-2025-14085 affects youlaitech youlai-mall versions 1.0.0 and 2.0.0, an open-source e-commerce platform. The vulnerability resides in the order retrieval endpoint /app-api/v1/orders/, where manipulation of the orderId parameter leads to improper control of dynamically-identified variables [CWE-913]. Remote attackers with low privileges can trigger the flaw over the network. The exploit details have been publicly disclosed, though no active exploitation has been reported. The vendor was contacted prior to public disclosure but did not respond.

Critical Impact

Authenticated remote attackers can manipulate the orderId parameter to influence dynamically-resolved variables within the order API, potentially exposing or altering order-related data.

Affected Products

  • youlai youlai-mall 1.0.0
  • youlai youlai-mall 2.0.0
  • Component: youlai:youlai-mall order API (/app-api/v1/orders/)

Discovery Timeline

  • 2025-12-05 - CVE-2025-14085 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-14085

Vulnerability Analysis

The vulnerability is classified under [CWE-913]: Improper Control of Dynamically-Managed Code Resources. In youlai-mall, the affected function accepts an orderId argument via the /app-api/v1/orders/ endpoint. The application does not sufficiently constrain how this input is used when resolving internal variables or object references at runtime.

An authenticated attacker who can reach the endpoint over the network can supply a crafted orderId value to influence variable resolution within the order-processing logic. This weakness affects confidentiality, integrity, and availability at a limited scope, consistent with the vulnerability's low-impact rating in its CVSS 4.0 assessment.

Because the vendor did not issue an advisory or patch, users of youlai-mall1.0.0 and 2.0.0 remain exposed until an update or code-level mitigation is applied. Public disclosure references are tracked in VulDB #334476 and the GitHub CVE Issue Discussion.

Root Cause

The root cause is improper control over dynamically-identified variables in the order-lookup code path. When user-controlled orderId values are used to select or bind variables at runtime without strict validation and whitelisting, attackers can steer program state in unintended directions. The absence of strong type checking, allow-listed identifiers, and parameter validation on the order API enables this behavior.

Attack Vector

The attack vector is network-based and requires low-level authentication on the youlai-mall application. An attacker sends an HTTP request to /app-api/v1/orders/ with a manipulated orderId value. The application processes this value in a context that dynamically resolves variables or object properties, permitting the attacker to influence application behavior.

No user interaction is required, and exploit code has been publicly disclosed. See the VulDB CTI ID #334476 entry for tracked threat intelligence on this issue.

Detection Methods for CVE-2025-14085

Indicators of Compromise

  • Unusual or malformed values for the orderId parameter in requests to /app-api/v1/orders/, including non-numeric strings, object-like tokens, or reserved identifiers.
  • Repeated authenticated requests from a single account probing multiple orderId values in short succession.
  • Application errors or stack traces referencing dynamic variable resolution in order-processing code paths.

Detection Strategies

  • Enable verbose request logging on the youlai-mall API gateway and inspect all traffic to /app-api/v1/orders/ for anomalous orderId payloads.
  • Deploy a web application firewall (WAF) rule that enforces a strict numeric or UUID pattern on the orderId parameter and blocks other formats.
  • Correlate authenticated session activity with order-lookup patterns to identify accounts enumerating or fuzzing order identifiers.

Monitoring Recommendations

  • Monitor 4xx and 5xx response spikes on /app-api/v1/orders/ as an early signal of parameter fuzzing.
  • Track EPSS movement for CVE-2025-14085 to reassess exposure as public exploit tooling matures.
  • Alert on any code changes that touch dynamic variable binding within order controllers or services.

How to Mitigate CVE-2025-14085

Immediate Actions Required

  • Restrict access to the /app-api/v1/orders/ endpoint to trusted networks or authenticated internal clients where feasible.
  • Add server-side input validation that enforces a strict format for orderId (for example, numeric-only or UUID) before it reaches business logic.
  • Audit application logs for any historical requests containing suspicious orderId values and review affected user accounts.

Patch Information

No vendor patch is available. The vendor did not respond to the pre-disclosure notification tracked in VulDB Submission #695943. Until an official fix is released, users must apply code-level or infrastructure-level mitigations. Monitor the upstream youlai-mall repository for updates and review the GitHub CVE Issue Discussion for community remediation guidance.

Workarounds

  • Fork the youlai-mall source and add strict allow-list validation for the orderId parameter in the order controller.
  • Insert an API gateway or reverse-proxy rule that rejects requests to /app-api/v1/orders/ when orderId fails a strict regex check.
  • Enforce object-level authorization so that authenticated users can only retrieve orders they own, limiting impact even if variable resolution is manipulated.
bash
# Example nginx configuration to enforce a strict numeric orderId pattern
location ~ ^/app-api/v1/orders/(?<order_id>[^/]+)/?$ {
    if ($order_id !~ ^[0-9]{1,19}$) {
        return 400;
    }
    proxy_pass http://youlai_mall_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.