Lucene search
+L

CVE-2022-45771

🗓️ 05 Dec 2022 00:00:00Reported by mitreType 
cve
 cve
🔗 web.nvd.nist.gov👁 141 Views🌐 WEB

An issue in Pwndoc v0.5.3 allows privilege escalation and code execution via crafted audit file

Related
Detection
Refs
Paths
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Unrestricted Upload of File with Dangerous Type in Pwndoc_Project Pwndoc
11 Feb 202315:26
–githubexploit
githubexploit
GithubExploit
Exploit for Unrestricted Upload of File with Dangerous Type in Pwndoc_Project Pwndoc
13 Dec 202210:03
–githubexploit
circl
Circl
CVE-2022-45771
5 Dec 202222:40
–circl
cnnvd
CNNVD
Pwndoc security vulnerabilities
5 Dec 202200:00
–cnnvd
cvelist
Cvelist
CVE-2022-45771
5 Dec 202200:00
–cvelist
kitploit
Kitploit
CVE-2022-45771-Pwndoc-LFI-to-RCE
15 Nov 202618:02
–kitploit
kitploit
Kitploit
CVE-2022-45771
14 Nov 202604:12
–kitploit
mend
Mend
CVE-2022-45771
5 Dec 202200:00
–mend
nvd
NVD
CVE-2022-45771
5 Dec 202220:15
–nvd
prion
Prion
Design/Logic Flaw
5 Dec 202220:15
–prion
Rows per page
NVD
Node
ParameterPositionPathDescriptionCWE
languagerequest body/api/auditsLack of validation on the 'language' property allows an attacker to perform path traversal and local file inclusion (LFI) by providing paths like '../lib/auth.js' or '../../report-templates/exploit-poc.js', leading to arbitrary code execution via the 'require' function.CWE-434
templaterequest body/api/audits/{id}/generalThe 'template' parameter in the audit general update endpoint can be used in conjunction with a malicious 'language' path set in the audit to trigger report generation that executes arbitrary code.CWE-434
categoryrequest body/api/audits/{id}/findingsAdding findings with specific 'category' or 'vulnType' values can be used to leak secrets (like jwtSecret) into a generated report if the audit's 'language' property points to a file that exports those secrets.CWE-434
vulnTyperequest body/api/audits/{id}/findingsAdding findings with specific 'category' or 'vulnType' values can be used to leak secrets (like jwtSecret) into a generated report if the audit's 'language' property points to a file that exports those secrets.CWE-434
languagenested/api/audits/{id}/generateTriggering report generation for an audit with a malicious 'language' path (e.g., pointing to a JS file) results in the execution of that code on the server via the 'require' function.CWE-434
filerequest body/api/templatesInsecure template upload functionality allows uploading .js files which can then be targeted via path traversal in the /api/audits component to achieve Remote Code Execution (RCE).CWE-434
extrequest body/api/templatesInsecure template upload functionality allows uploading .js files which can then be targeted via path traversal in the /api/audits component to achieve Remote Code Execution (RCE).CWE-434

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jun 2026 05:10Current
8.3High risk
Vulners AI Score8.3
CVSS 3.18.8
EPSS0.01975
SSVC
141