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

CVE-2025-10777: R7-Office Document Server Path Traversal

CVE-2025-10777 is a path traversal vulnerability in JSC R7 R7-Office Document Server allowing remote attackers to access unauthorized files. This article covers technical details, affected versions, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-10777 Overview

CVE-2025-10777 is a path traversal vulnerability [CWE-22] affecting JSC R7 R7-Office Document Server versions up to 20250820. The flaw resides in the /downloadas/ endpoint, where manipulation of the cmd argument allows an authenticated remote attacker to traverse the file system outside the intended directory. R7-Office is a fork of OpenOffice; the OpenOffice team could not reproduce the issue in their codebase. The vendor has released version 2025.3.1.923 to address the issue.

Critical Impact

An authenticated remote attacker can manipulate the cmd parameter to the /downloadas/ endpoint and traverse the file system, potentially accessing files outside the intended download scope.

Affected Products

  • JSC R7 R7-Office Document Server versions up to 20250820
  • Fixed in R7-Office Document Server 2025.3.1.923
  • OpenOffice (upstream) — reportedly not reproducible per vendor statement

Discovery Timeline

  • 2025-09-22 - CVE-2025-10777 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-10777

Vulnerability Analysis

The vulnerability affects an unspecified function handling requests to the /downloadas/ endpoint of the R7-Office Document Server. The cmd request argument is incorporated into file resolution logic without sufficient path normalization or sandboxing. An attacker supplying crafted traversal sequences in cmd can cause the server to resolve paths outside the intended working directory.

Exploitation requires network access and low-privilege authentication, as reflected by the CVSS 4.0 vector components AV:N and PR:L. The confidentiality, integrity, and availability sub-impacts are rated low, consistent with limited file-access exposure rather than full system compromise.

The vendor states that during internal security testing the server consistently returned proper error responses to the submitted scenarios, though the fix has been shipped in release 2025.3.1.923.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. User-controllable input in the cmd parameter is used to construct a file path without canonicalization or validation against an allow-list of permitted targets.

Attack Vector

The attack vector is remote over HTTP. An authenticated user issues a request to /downloadas/ with a modified cmd value containing traversal metacharacters. Because exploitation requires only low privileges and no user interaction, any valid account on an exposed instance represents a potential entry point.

No verified public exploit or proof-of-concept code is available at this time. See the VulDB entry for CVE-2025-10777 for additional technical context.

Detection Methods for CVE-2025-10777

Indicators of Compromise

  • HTTP requests to /downloadas/ containing ../, ..%2f, ..%5c, or encoded traversal sequences in the cmd parameter
  • Unexpected downloadas responses returning content from outside the document store directory
  • Access log entries showing authenticated users retrieving files whose paths resolve outside the configured document root

Detection Strategies

  • Inspect web server and reverse proxy logs for cmd parameter values containing traversal patterns or null-byte variants
  • Deploy a web application firewall rule that normalizes URL-encoded sequences before matching against path traversal signatures on the /downloadas/ route
  • Correlate authenticated session identifiers with anomalous file-access patterns on the document server host

Monitoring Recommendations

  • Enable verbose request logging on the R7-Office Document Server, capturing full query strings for the /downloadas/ endpoint
  • Alert on file system reads outside the designated document storage directory performed by the R7-Office service account
  • Track authentication events preceding /downloadas/ requests to establish user attribution for suspected traversal attempts

How to Mitigate CVE-2025-10777

Immediate Actions Required

  • Upgrade R7-Office Document Server to version 2025.3.1.923 or later
  • Restrict network exposure of the R7-Office management interface to trusted internal networks
  • Audit active accounts and rotate credentials for low-privilege users with access to the document server
  • Review historical access logs for suspicious cmd parameter values on the /downloadas/ endpoint

Patch Information

The vendor has confirmed the fix in R7-Office Document Server release 2025.3.1.923. Administrators should refer to the VulDB CTI entry and vendor release notes for upgrade instructions, then validate that the installed version matches or exceeds the patched build.

Workarounds

  • Place a reverse proxy or WAF in front of the document server to block traversal sequences in the cmd parameter until patching is complete
  • Enforce least-privilege file system permissions on the R7-Office service account to limit the scope of readable files
  • Disable or firewall the /downloadas/ endpoint from untrusted networks where feasible
bash
# Example nginx rule to block traversal sequences on the /downloadas/ route
location /downloadas/ {
    if ($args ~* "(\.\./|\.\.%2f|\.\.%5c|%2e%2e)") {
        return 403;
    }
    proxy_pass http://r7_office_backend;
}

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.