CVE-2025-27413: PwnDoc - Path Traversal & Remote Code Execution
- Cve: CVE-2025-27413
- Name: PwnDoc - Path Traversal & Remote Code Execution
- Description: PwnDoc is a penetration test reporting application. Prior to version 1.2.0, the backup restore functionality allows an administrator to import raw data into the database, including Path Traversal (`../`) sequences. This is problematic for the template update functionality as it uses the path from the database to write arbitrary content to, potentially overwriting source code to achieve Remote Code Execution. Any user with the `backups:create`, `backups:update` and `templates:update` permissions (only administrators by default) can write arbitrary content to anywhere on the filesystem. By overwriting source code, it is possible to achieve Remote Code Execution. Version 1.2.0 fixes the issue.
- Impact: Attackers with administrator permissions can overwrite source code, leading to remote code execution and full system compromise.
- Remediation: Update to version 1.2.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: remote_code_execution
- Requirement type: admin_privileges
- Requirements: User must have backups:create, backups:update, and templates:update permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.01179
- Epss percentile: 0.68306
- Assignee: [email protected]
- Published at: 2025-02-28T21:15:27Z
- Age in days: 634
- Modified at: 2026-06-17T09:03:32Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27413
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pwndoc/pwndoc/security/advisories/GHSA-r3vj-47cf-4672 | nvd | 2025-02-28 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pwndoc_project:pwndoc | < 1.2.0 | no | nvd | /v1/products/pwndoc_project/pwndoc |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pwndoc/pwndoc | commit, fix, releases, security_advisory | yes | /v1/repositories/pwndoc/pwndoc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-02-28
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts