CVE-2016-3718 ImageMagick Server-Side Request Forgery (SSRF)
Remote attackers can perform server-side request forgery attacks via crafted images in ImageMagick's HTTP and FTP coders.
- Exploited in the wild
- Since 3 Nov 2021
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-3718?
CVE-2016-3718 is a medium-severity server-side request forgery vulnerability in Canonical Ubuntu Linux, published on 5 May 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request forgery (SSRF) attacks via a crafted image.
Weakness: CWE-918
Which versions are affected by CVE-2016-3718?
It affects 30 products.
Products include Canonical Ubuntu Linux, Imagemagick Imagemagick, Opensuse Leap, Opensuse Opensuse, Oracle Linux, Oracle Solaris and 24 more.
How do I fix CVE-2016-3718?
Upgrade to a fixed version. US federal agencies must fix it by 3 May 2022.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2016-3718 being exploited?
Yes. Attackers have exploited CVE-2016-3718 in the wild since at least 3 Nov 2021.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2016-3718, GHSA-q994-gg9f-3g56, UBUNTU-CVE-2016-3718.