/

CVE-2025-66744

Severity:

HIGH RISK

(7.5)

Path Traversal in Yonyou YonBIP LoginWithV8 Interface

CVE-2025-66744

Awaiting Analysis

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Unauthorized Access to Sensitive Information

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A directory path traversal vulnerability in the LoginWithV8 interface of Yonyou YonBIP v3 and earlier allows attackers to manipulate file paths and access files outside the intended directory scope.

When exploited, this weakness can expose sensitive information to unauthorized users through crafted requests that bypass normal access controls.

Affected context

The vulnerability occurs in the LoginWithV8 interface of the series data application service system within Yonyou YonBIP v3 and earlier.

It manifests when user-controlled input is incorporated into filesystem paths without proper normalization, validation, or restriction to an expected base directory.

Environments where this interface is network-accessible and not protected by compensating controls are more exposed to risk.

Exploit preconditions

  • Attack surface: Network-accessible LoginWithV8 interface in the YonBIP series data application service.
  • Required access: Typically unauthenticated or low-privileged access to the affected endpoint, depending on deployment.
  • Trigger point: Submission of crafted path parameters that include traversal sequences (e.g., parent directory references) to the LoginWithV8 interface.
  • Why exploitation is possible: The server-side logic accepts user-supplied path components and resolves them on the filesystem without sufficiently constraining them to an allowed directory or removing traversal patterns.

Why this happens

This issue maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').

The underlying bug is that user input is concatenated or otherwise combined with server-side filesystem paths and then used directly to locate resources.

Without canonicalization, normalization, and enforcement that the resulting path remains within a designated root directory, attackers can inject traversal sequences to read files that were never intended to be exposed.

The vulnerable pattern is trusting client-controlled path fragments as if they were benign resource selectors rather than treating them as untrusted data requiring strict validation.

Potential impact

  • Unauthorized reading of configuration files that may contain credentials or connection strings
  • Exposure of application logs that could reveal business data or internal error details
  • Leakage of source code or scripts, aiding further exploitation
  • Access to other sensitive data stored on the same host, depending on process privileges and filesystem layout

General mitigation guidance

Mitigation typically focuses on constraining filesystem access and de-trusting user-supplied paths:

  • Resolve requested paths against a fixed, server-defined base directory and reject any request that attempts to escape that directory.
  • Normalize and canonicalize paths before use, and explicitly check that the resolved path begins with the expected document root.
  • Avoid direct concatenation of user input into filesystem paths; instead, map user input to a whitelist of known resource identifiers.
  • Apply the principle of least privilege to the service account so that even if traversal occurs, accessible data is minimized.
  • Centralize path-handling utilities and apply consistent validation rules for all file access operations.

How teams detect issues like this

Detection often combines code-centric and operational approaches:

  • Static analysis rules to identify file operations that include user-controlled input without validation or root-directory checks.
  • Code review checklists that flag any use of directory separators or ".." handling in request parameters or login-related handlers.
  • Runtime monitoring and WAF rules that detect suspicious patterns such as repeated "../" sequences or encoded traversal attempts targeting the LoginWithV8 interface.
  • Periodic security testing (SAST/DAST) focused on file-reading endpoints and authentication-related APIs to uncover traversal behaviors.

Sources

SourceLink
github.comgithub.com/iSee857/YonYouBip-path-travel

Frequently asked

questions

Yes. If the LoginWithV8 interface is exposed over the network, an attacker can send crafted HTTP requests to exploit the path traversal remotely.

The issue is described as allowing unauthorized access, implying that high privileges are not required; access to the affected interface is generally sufficient, though exact requirements depend on deployment and access control configuration.

The most robust fix is to strictly confine file access to a predefined base directory, normalize and canonicalize all paths, and reject any request whose resolved path falls outside the allowed directory tree.

Treat all path-related input as untrusted, use central utilities for safe path resolution, enforce whitelists or ID-based resource selection, and include path traversal checks in code review, static analysis, and application security testing processes.

Find out what's already
exploitable in your codebase.