CyberSecBulletin
CVE-2016-3715Exploited in the wildNVD status: Analyzed

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.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Update Imagemagick to 6.9.3-10 or a later version.
  2. CISA's required action: Apply updates per vendor instructions.
  3. Read the advisory on imagemagick.org for workarounds and exact fixed builds.
  4. 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

VendorProductAffected versionsFixed in
Red HatEnterprise Linux Desktop6.0; 7.0Not stated
Red HatEnterprise Linux EUS6.7; 7.2; 7.3; 7.4; 7.5; 7.6; 7.7Not stated
Red HatEnterprise Linux For IBM Z Systems6.0_s390x; 7.0_s390xNot stated
Red HatEnterprise Linux For IBM Z Systems EUS6.7_s390x; 7.2_s390x; 7.3_s390x; 7.4_s390x; 7.5_s390x; 7.6_s390x; 7.7_s390xNot stated
Red HatEnterprise Linux For Power Big Endian6.0_ppc64; 7.0_ppc64Not stated
Red HatEnterprise Linux For Power Big Endian EUS6.7_ppc64; 7.2_ppc64; 7.3_ppc64; 7.4_ppc64; 7.5_ppc64; 7.6_ppc64; 7.7_ppc64Not stated
Red HatEnterprise Linux For Power Little Endian7.0_ppc64leNot stated
Red HatEnterprise Linux For Power Little Endian EUS7.2_ppc64le; 7.3_ppc64le; 7.4_ppc64le; 7.5_ppc64le; 7.6_ppc64le; 7.7_ppc64leNot stated
Red HatEnterprise Linux Hpc Node6.0; 7.0Not stated
Red HatEnterprise Linux Hpc Node EUS7.2Not stated
Red HatEnterprise Linux Server6.0; 7.0Not stated
Red HatEnterprise Linux Server AUS7.2; 7.3; 7.4; 7.6; 7.7Not stated
Red HatEnterprise Linux Server From Rhui6.0; 7.0Not stated
Red HatEnterprise Linux Server Supplementary EUS6.7zNot stated
Red HatEnterprise Linux Server TUS7.2; 7.3; 7.6; 7.7Not stated
Red HatEnterprise Linux Workstation6.0; 7.0Not stated
ImageMagickImagemagickbefore 6.9.3-10; 7.0.0-0; 7.0.1-06.9.3-10
CanonicalUbuntu Linux12.04; 14.04; 15.10; 16.04Not stated
OracleLinux6; 7Not stated
OracleSolaris10; 11.3Not stated
SUSELinux Enterprise Debuginfo11Not stated
SUSEManager2.1Not stated
SUSEManager Proxy2.1Not stated
SUSEOpenstack Cloud5Not stated
openSUSELeap42.1Not stated

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 systemScoreSeverityScored by
CVSS 3.15.5MediumNVD
CVSS 3.15.5MediumCISA (ADP)
CVSS 2.05.8MediumNVD

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

  1. CVE record published.
  2. Added to CISA's Known Exploited Vulnerabilities catalogue.
  3. Deadline for US federal agencies to remediate, set by CISA.
  4. CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: partial).
  5. Record last changed materially (score, affected products, status or references).

References

Patches and release notes

Third-party and government advisories

Technical write-ups (may include proof of concept)

Other vulnerabilities in Enterprise Linux Desktop

All Enterprise Linux Desktop vulnerabilities

Spotted an error? Tell us.