office-converter through 1.0.2 OS Command Injection via fileName in generatePdf
vworld4u office-converter
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| vworld4u office-converter |
| No fix yet |
Original 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.
From the CVE record · VulnCheck