Paper/Archive/CVE-2020-37279

CVE-2020-37279

karuppiah7890 easy-pdf-merge — easy-pdf-merge 0.1.0 through 0.2.6 OS Command Injection via merge function

Description · from the CVE record

easy-pdf-merge 0.1.0 through 0.2.6 contains an OS command injection vulnerability that allows attackers to execute commands by injecting shell metacharacters into source paths, destination path, or maxHeap option. Attackers can supply file names or options containing double quotes, semicolons, $() or backticks, which child_process.exec() runs through a shell with the Node.js process privileges.

Affected

ProductAffectedFixed inSource
easy-pdf-merge0.1.0 – 0.2.6–CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

exploitgithub.com/karuppiah7890/easy-pdf-merge/pull/28patchgithub.com/karuppiah7890/easy-pdf-merge/pull/45writeupgithub.com/karuppiah7890/easy-pdf-merge/blob/v0.2.6/source/lib/PDFMerger.js#L71-L75refgithub.com/karuppiah7890/easy-pdf-mergewriteupvulncheck.com/advisories/easy-pdf-merge-0.1.0-through-0.2.6-os-command-injection-via-merge-function