CVE-2016-3718ImageMagick Server-Side Request Forgery (SSRF) Vulnerability
CVSS score
5.5
Medium
CVSS 3.1 from NVD
Exploit probability (EPSS)
75.6%
75.6% chance of exploitation in the next 30 days, higher than 99.5% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Nov 2021.
US federal deadline to fix: 3 May 2022.
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.
Source: NVD · CNA: secalert@redhat.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Nov 2021.
US federal agencies must fix it by 3 May 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux For Ibm Z Systems Eus, Red Hat Enterprise Linux For Power Big Endian Eus, Red Hat Enterprise Linux For Power Little Endian Eus and compare its version with the affected versions.
Update to a fixed version
- Update Imagemagick to 6.9.3-10 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| Red Hat Enterprise Linux Desktop | 6.0 · 7.0 |
| Red Hat Enterprise Linux Eus | 6.7 · 7.2 · 7.3 · 7.4 · 7.5 · 7.6 |
| Red Hat Enterprise Linux For Ibm Z Systems | 6.0_s390x · 7.0_s390x |
| Red Hat Enterprise Linux For Ibm Z Systems Eus | 6.7_s390x · 7.2_s390x · 7.3_s390x · 7.4_s390x · 7.5_s390x · 7.6_s390x |
| Red Hat Enterprise Linux For Power Big Endian | 6.0_ppc64 · 7.0_ppc64 |
| Red Hat Enterprise Linux For Power Big Endian Eus | 6.7_ppc64 · 7.2_ppc64 · 7.3_ppc64 · 7.4_ppc64 · 7.5_ppc64 · 7.6_ppc64 |
| Red Hat Enterprise Linux For Power Little Endian | 7.0_ppc64le |
| Red Hat Enterprise Linux For Power Little Endian Eus | 7.2_ppc64le · 7.3_ppc64le · 7.4_ppc64le · 7.5_ppc64le · 7.6_ppc64le · 7.7_ppc64le |
| Red Hat Enterprise Linux Hpc Node | 6.0 · 7.0 |
| Red Hat Enterprise Linux Hpc Node Eus | 7.2 |
| Red Hat Enterprise Linux Server | 6.0 · 7.0 |
| Red Hat Enterprise Linux Server Aus | 7.2 · 7.3 · 7.4 · 7.6 · 7.7 |
| Red Hat Enterprise Linux Server From Rhui | 6.0 · 7.0 |
| Red Hat Enterprise Linux Server Supplementary Eus | 6.7z |
| Red Hat Enterprise Linux Server Tus | 7.2 · 7.3 · 7.6 · 7.7 |
| Red Hat Enterprise Linux Workstation | 6.0 · 7.0 |
| ImageMagick Imagemagick | < 6.9.3-10 · 7.0.0-0 · 7.0.1-0 |
| Canonical Ubuntu Linux | 12.04 · 14.04 · 15.10 · 16.04 |
| Oracle Linux | 6 · 7 |
| Oracle Solaris | 10 · 11.3 |
| SUSE Linux Enterprise Debuginfo | 11 |
| SUSE Manager | 2.1 |
| SUSE Manager Proxy | 2.1 |
| SUSE Openstack Cloud | 5 |
| opensuse Leap | 42.1 |
Weakness
- CWE-918 server-side request forgery (SSRF)
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2016-3718 being exploited?
Yes. CISA added CVE-2016-3718 to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 75.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2016-3718?
CVE-2016-3718 has a CVSS 3.1 base score of 5.5 (medium).
Which versions are affected?
Red Hat Enterprise Linux Desktop (6.0; 7.0), Red Hat Enterprise Linux Eus (6.7; 7.2; 7.3; 7.4; 7.5; 7.6), Red Hat Enterprise Linux For Ibm Z Systems (6.0_s390x; 7.0_s390x), Red Hat Enterprise Linux For Ibm Z Systems Eus (6.7_s390x; 7.2_s390x; 7.3_s390x; 7.4_s390x; 7.5_s390x; 7.6_s390x), Red Hat Enterprise Linux For Power Big Endian (6.0_ppc64; 7.0_ppc64), Red Hat Enterprise Linux For Power Big Endian Eus (6.7_ppc64; 7.2_ppc64; 7.3_ppc64; 7.4_ppc64; 7.5_ppc64; 7.6_ppc64)
Is there a patch for CVE-2016-3718?
The official record links to vendor advisories or patches; see “What to do” above.
References
- git.imagemagick.org/repos/ImageMagick/blob/a01518e08c840577cabd7d3ff291a9ba735f7276/ChangeLog(Patch, Vendor Advisory)
- www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588(Vendor Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.html(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.html(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.html(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00032.html(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.html(Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2016-0726.html(Third Party Advisory)
- www.debian.org/security/2016/dsa-3580(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2016/05/03/18(Mailing List, Third Party Advisory)
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html(Third Party Advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html(Third Party Advisory)
- www.securityfocus.com/archive/1/538378/100/0/threaded(Broken Link, Third Party Advisory, VDB Entry)
- www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.440568(Third Party Advisory)
- www.ubuntu.com/usn/USN-2990-1(Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/06/msg00009.html(Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/201611-21(Third Party Advisory)
- www.exploit-db.com/exploits/39767/(Third Party Advisory, VDB Entry)
- www.imagemagick.org/script/changelog.php(Release Notes)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-3718(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.