Description
Resume-Matcher through 0.1.1-alpha is susceptible to arbitrary file write due to improper file path validation in the /api/resume-processor
endpoint. An attacker could upload a malicious file to an arbitrary location on the server, which results in remote code execution in most system configurations.
Explotation
- The following request will create a
/tmp/pwn.example
file.
1 | POST /api/resume-processor |
Impact
Unauthenticated attacker can upload arbitrary files into the server which results in remote code execution in most system configurations.
Mitigation
Upgrade Resume-Matcher to the latest version.