Vulnerability · Published Dec 11, 2024 · Assigned by GitHub_M

CVE-2024-55652PwnDoc Server-Side Template Injection vulnerability - Sandbox Escape to RCE using custom filters

Medium 6.5

In plain English

A medium-severity security flaw in pwndoc from pwndoc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.7%top 47.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
pwndoc pwndoc < 1d4219c596f4f518798492e48386a20c6e9a2fe6

Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

References