CVE-2020-37282
office-converter through 1.0.2 contains an OS command injection …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/advisories/GHSA-9p64-h5q4-phpm
- github.com/vworld4u/office-converter/blob/b1ea855d0001dc7a5d66343698634dbc06b72c2d/index.j
- github.com/vworld4u/office-converter/pull/9
- www.vulncheck.com/advisories/office-converter-through-1.0.2-os-command-injection-via-filen
- nvd.nist.gov/vuln/detail/CVE-2020-37282
- cve.org/CVERecord?id=CVE-2020-37282
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.