Amazon Linux AMI update for ImageMagick



Published: 2021-02-17 | Updated: 2022-01-30
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-29599
CWE-ID CWE-91
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) XML injection

EUVDB-ID: #VU48940

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-29599

CWE-ID: CWE-91 - XML Injection

Exploit availability: Yes

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.

Mitigation

Update the affected packages:

i686:
    ImageMagick-c++-devel-6.9.10.68-3.23.amzn1.i686
    ImageMagick-perl-6.9.10.68-3.23.amzn1.i686
    ImageMagick-devel-6.9.10.68-3.23.amzn1.i686
    ImageMagick-6.9.10.68-3.23.amzn1.i686
    ImageMagick-c++-6.9.10.68-3.23.amzn1.i686
    ImageMagick-debuginfo-6.9.10.68-3.23.amzn1.i686
    ImageMagick-doc-6.9.10.68-3.23.amzn1.i686

src:
    ImageMagick-6.9.10.68-3.23.amzn1.src

x86_64:
    ImageMagick-6.9.10.68-3.23.amzn1.x86_64
    ImageMagick-devel-6.9.10.68-3.23.amzn1.x86_64
    ImageMagick-doc-6.9.10.68-3.23.amzn1.x86_64
    ImageMagick-c++-devel-6.9.10.68-3.23.amzn1.x86_64
    ImageMagick-debuginfo-6.9.10.68-3.23.amzn1.x86_64
    ImageMagick-c++-6.9.10.68-3.23.amzn1.x86_64
    ImageMagick-perl-6.9.10.68-3.23.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2021-1479.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###