CVE-2022-45771
HIGHpwndoc v0.5.3 - Unauthenticated Arbitrary Code Execution via Crafted Audit File Upload
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2022-45771. PoCs published by p0dalirius, yuriisanin.
AI-analyzed exploit summary This PoC exploits CVE-2022-45771, a Local File Inclusion (LFI) vulnerability in Pwndoc that can be chained to achieve Remote Code Execution (RCE). The script automates the process of creating malicious templates and generating reports to trigger the vulnerability.
Description
An issue in the /api/audits component of Pwndoc v0.5.3 allows attackers to escalate privileges and execute arbitrary code via uploading a crafted audit file.
Exploits (2)
This PoC exploits CVE-2022-45771, a Local File Inclusion (LFI) vulnerability in Pwndoc that can be chained to achieve Remote Code Execution (RCE). The script automates the process of creating malicious templates and generating reports to trigger the vulnerability.
This PoC demonstrates a path traversal and local file inclusion vulnerability in PwnDoc, allowing unprivileged users to disclose JWT secrets and achieve privilege escalation by exploiting insecure `require` function usage and template injection.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H