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.
History

Tue, 15 Apr 2025 20:45:00 +0000

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

Tue, 04 Mar 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 28 Feb 2025 21:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-03-04T20:31:01.435Z

Reserved: 2025-02-24T15:51:17.268Z

Link: CVE-2025-27410

cve-icon Vulnrichment

Updated: 2025-03-04T20:30:51.942Z

cve-icon NVD

Status : Analyzed

Published: 2025-02-28T21:15:27.677

Modified: 2025-04-16T13:04:55.890

Link: CVE-2025-27410

cve-icon Redhat

No data.