ImageMagick Arbitrary File Deletion
CVE-2016-3715 is a medium-severity files or directories accessible to external parties vulnerability in Enterprise Linux Desktop from Red Hat, with a CVSS 3.1 base score of 5.5 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected Enterprise Linux Desktop versions: 6.0; 7.0. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on November 3, 2021, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Imagemagick to 6.9.3-10 or a later version.
- CISA's required action: Apply updates per vendor instructions.
- Read the advisory on imagemagick.org for workarounds and exact fixed builds.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
Version data comes from NVD's product matching; 5 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.5 | Medium | NVD |
| CVSS 3.1 | 5.5 | Medium | CISA (ADP) |
| CVSS 2.0 | 5.8 | Medium | NVD |
Official description
The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary files via a crafted image.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Files or Directories Accessible to External Parties
The product makes files or directories accessible to unauthorized actors, even though they should not be.
How developers prevent this class of flaw
- When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to disable public access.
More Files or Directories Accessible to External Parties vulnerabilities (CWE-552)
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- imagemagick.org/script/changelog.phpRelease Notes
Third-party and government advisories
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.htmlThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.htmlThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.htmlThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00032.htmlThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.htmlThird Party Advisory
- rhn.redhat.com/errata/RHSA-2016-0726.htmlThird Party Advisory
- debian.org/security/2016/dsa-3580Mailing List, Third Party Advisory
- debian.org/security/2016/dsa-3746Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2016/05/03/18Mailing List, Third Party Advisory
- oracle.com/technetwork/topics/security/bulletinjul2016-3090568.htmlThird Party Advisory
- oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlThird Party Advisory
- slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.440568Mailing List, Third Party Advisory
- ubuntu.com/usn/USN-2990-1Third Party Advisory
- security.gentoo.org/glsa/201611-21Third Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-3715US Government Resource
Technical write-ups (may include proof of concept)
- exploit-db.com/exploits/39767/Exploit, Third Party Advisory, VDB Entry
Other vulnerabilities in Enterprise Linux Desktop
- 7.8 High severity
Linux Kernel Use-After-Free Exploited
- 7.8 High severity
- 9.8 Critical severity
- 8.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.