CVE-2025-27410CWE-22CWE-23

PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin

Medium · published February 28, 2025

CVSS v3.1
6.5
EPSS
2%
Percentile
81.6
In the wild
Unconfirmed
What it is

PwnDoc is a penetration test reporting application. Prior to version 1.2.0, the backup restore functionality is vulnerable to path traversal in the TAR entry's name, allowing an attacker to overwrite any file on the system with their content. By overwriting an included `.js` file and restarting the container, this allows for Remote Code Execution as an administrator. The remote code execution occurs because any user with the `backups:create` and `backups:update` (only administrators by default) is able to overwrite any file on the system. Version 1.2.0 fixes the issue.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02111 · 81.6th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-23 · Relative Path Traversal
Published
2025-02-28T21:00Z
EPSS history
Timeline
  • 28 FEB 21:00Z
    PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin
    cvelistv5