MEDIUM
PwnDoc Server-Side Template Injection vulnerability - Sandbox Escape to RCE using custom filters
Published Dec 11, 2024
6.5
MEDIUMCVSS 3.1
EPSS 0.67%
Description
PenDoc is a penetration testing reporting application. Prior to commit 1d4219c596f4f518798492e48386a20c6e9a2fe6, an attacker can write a malicious docx template containing expressions that escape the JavaScript sandbox to execute arbitrary code on the system. An attacker who can control the contents of the template document is able to execute arbitrary code on the system. By default, only users with the `admin` role are able to create or update templates. Commit 1d4219c596f4f518798492e48386a20c6e9a2fe6 patches the issue.
Affected products
-
- Version < 1d4219c596f4f518798492e48386a20c6e9a2fe6StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (1)
References (4)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-52835 Advisory
- https://github.com/pwndoc/pwndoc/blob/main/backend/src/lib/report-filters.js#L258-L260 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/security/advisories/GHSA-jw5r-6927-hwpc exploitx_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-52835 | Advisory | |
| https://github.com/pwndoc/pwndoc/blob/main/backend/src/lib/report-filters.js#L258-L260 | x_refsource_MISC | |
| https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6 | x_refsource_MISC | |
| https://github.com/pwndoc/pwndoc/security/advisories/GHSA-jw5r-6927-hwpc | exploitx_refsource_CONFIRM |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Dec 11, 2024
Updated Dec 12, 2024
Reserved Dec 10, 2024
Link CVE-2024-55652
CISA Vulnrichment
Updated Dec 12, 2024
ENISA EUVD
EUVD-2024-52835 Assigner GitHub_M
Published Dec 11, 2024
Updated Dec 12, 2024
Exploited since n/a
Link EUVD-2024-52835