Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2025-27410 EUVD-2025-6022

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

Published Feb 28, 2025 · Updated Mar 4, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
pwndoc pwndoc < 1.2.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • shreyas-malhotra/CVE-2025-27410 ★ 0 · Mar 18, 2025

    Updated PoC for CVE-2025-27410, since the one publicly available in the security advisory is prone to failing.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References