CVE-2025-27410

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

Published Feb 28, 2025 CVSS 3.1 · 6.5 Medium EPSS 2.1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pwndoc Project
Pwndoc Project pwndoc
CPEs cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:*
Vendors & Products Pwndoc Project
Pwndoc Project pwndoc
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin
Weaknesses CWE-22
CWE-23
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-23

    Relative Path Traversal

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 4, 2025, 8:31 PM
Reserved
Feb 24, 2025, 3:51 PM
Status
Analyzed
Published
Feb 28, 2025, 9:15 PM
Modified
Jun 17, 2026, 9:03 AM