CVE-2020-37282 office-converter through 1.0.2 OS Command Injection via fileName in generatePdf
CriticalCVSS 9.3
EPSS 3.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
office-converter through 1.0.2 contains an OS command injection vulnerability that allows attackers to execute commands by supplying a crafted fileName to generatePdf() or generateHtml(). Attackers can embed $(...), backticks, or a closing quote with shell metacharacters in the file name, which is concatenated into an unoconv command run via child_process.exec(), executing commands with Node.js process privileges.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm office-converter(npm) | <= 1.0.2 | No fix listed |
References
- GitHub Security Advisory (GHSA-9p64-h5q4-phpm) third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch
- github.com technical-description
- VulnCheck Advisory: office-converter through 1.0.2 OS Command Injection via fileName in generatePdf third-party-advisory