CVE-2025-27410

MEDIUM CVSS 3.1: 6.5 EPSS 2.11%
Updated Apr 16, 2025
Pwndoc_Project
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 1.2.0
Fixed In 1.2.0
Type CWE-22 (Path Traversal), CWE-23 (Relative Path Traversal)
Vendor Pwndoc_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Pwndoc_Project Pwndoc
cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:*
— 1.2.0