#VU48940 XML injection in ImageMagick - CVE-2020-29599

 

#VU48940 XML injection in ImageMagick - CVE-2020-29599

Published: December 13, 2020 / Updated: February 23, 2022


Vulnerability identifier: #VU48940
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2020-29599
CWE-ID: CWE-91
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
ImageMagick
Software vendor:
ImageMagick.org

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

ImageMagick before 6.9.11-40 and 7.x before 7.0.10-40 mishandles the -authenticate option, which allows setting a password for password-protected PDF files. The user-controlled password was not properly escaped/sanitized and it was therefore possible to inject additional shell commands via coders/pdf.c.


Remediation

Install update from vendor's website.

External links