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

CVE-2025-52922: Innoshop Path Traversal Vulnerability

CVE-2025-52922 is a path traversal vulnerability in Innoshop through version 0.4.1 that allows authenticated attackers to manipulate the filesystem via FileManager API endpoints. This article covers technical details.

Published:

CVE-2025-52922 Overview

CVE-2025-52922 is a directory traversal vulnerability [CWE-23] affecting Innoshop through version 0.4.1. The flaw resides in the FileManager API endpoints exposed under /api/file_manager/. An authenticated attacker with admin panel access can traverse outside the intended base directory to enumerate, read, write, move, and delete files anywhere the web server user has permissions.

The issue is tracked under CWE-23 (Relative Path Traversal) and impacts confidentiality, integrity, and availability of the underlying host filesystem.

Critical Impact

An authenticated admin user can map the filesystem, read sensitive configuration files, and drop arbitrary files onto the server, enabling potential remote code execution paths.

Affected Products

  • Innoshop versions up to and including 0.4.1
  • Innoshop FileManager API endpoints (/api/file_manager/*)
  • Deployments exposing the admin panel to untrusted networks

Discovery Timeline

  • 2025-06-23 - CVE-2025-52922 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-52922

Vulnerability Analysis

Innoshop exposes several administrative FileManager endpoints that accept user-controlled path parameters. These endpoints fail to canonicalize input or restrict resolved paths to a designated base directory. Attackers supply relative traversal sequences such as ../ in parameters like base_folder to escape the intended scope.

Five distinct primitives are reachable through the API. First, GET /api/file_manager/files?base_folder= enumerates directory contents across the filesystem. Second, POST /api/file_manager/directories creates arbitrary directories. Third, /api/file_manager/copy_files copies restricted files into a web-accessible location for retrieval. Fourth, DELETE /api/file_manager/files removes arbitrary files. Fifth, /api/file_manager/move_files relocates uploaded content anywhere on disk, enabling webshell placement in executable paths.

Root Cause

The application does not enforce a canonical base path check on user-supplied file and folder parameters. Path resolution occurs without verifying that the final target resides within the FileManager's intended root. This is a classic CWE-23 relative path traversal weakness.

Attack Vector

Exploitation requires an authenticated session with admin panel access. The attacker crafts HTTP requests to FileManager endpoints with parameters containing traversal sequences. Because the attack executes over the network against a web API, no local access is required beyond valid credentials or a hijacked admin session.

Refer to the Medium research write-up on Innoshop 0.4.1 CVEs and the Innoshop GitHub repository for technical details.

Detection Methods for CVE-2025-52922

Indicators of Compromise

  • HTTP requests to /api/file_manager/files, /api/file_manager/directories, /api/file_manager/copy_files, or /api/file_manager/move_files containing ../ or URL-encoded %2e%2e%2f sequences in parameters.
  • Unexpected files appearing in web-accessible directories following FileManager API activity.
  • Deletion of application configuration, logs, or environment files without corresponding administrator action.

Detection Strategies

  • Inspect web server and application logs for FileManager endpoint requests where base_folder, source, or destination parameters contain path traversal patterns.
  • Alert on FileManager API calls originating from IP addresses outside expected administrator ranges.
  • Correlate move_files and copy_files events with subsequent execution of newly created files in web roots.

Monitoring Recommendations

  • Enable verbose access logging on the Innoshop admin panel and forward logs to a centralized SIEM for retention and analytics.
  • Monitor filesystem integrity for the Innoshop application root and adjacent directories using host-based file integrity monitoring.
  • Track admin authentication events to detect credential compromise that would enable this vulnerability.

How to Mitigate CVE-2025-52922

Immediate Actions Required

  • Restrict access to the Innoshop admin panel using network-layer controls, VPN, or IP allowlisting.
  • Enforce strong, unique credentials and multi-factor authentication for all administrator accounts.
  • Audit existing admin accounts and revoke any that are unused or unrecognized.
  • Review server filesystem for unexpected files, directories, or missing content that may indicate prior exploitation.

Patch Information

No vendor patch reference is listed in the NVD entry at the time of publication. Monitor the Innoshop GitHub repository for releases newer than 0.4.1 that address FileManager path validation.

Workarounds

  • Disable or remove the FileManager module if it is not required for business operations.
  • Place a reverse proxy or web application firewall in front of Innoshop and block requests to /api/file_manager/* containing ../, ..\, or encoded traversal sequences.
  • Run the Innoshop application under a low-privilege system account with filesystem permissions limited to its own directory tree.
  • Deploy mandatory access controls such as AppArmor or SELinux to constrain the web server process.

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.