CVE-2024-55652 MEDIUM

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

Vendor Pwndoc
Product pwndoc
Weakness CWE-1336
Published December 11, 2024
Last update December 12, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 11, 2024 CVE published
December 12, 2024 Record updated