Patchfirst
CVE-2016-3714 KEVPublic exploit High · 8.4 EPSS 97.5%

ImageMagick Improper Input Validation Vulnerability

ImageMagick · ImageMagick

Summary

ImageMagick's coders for EPHEMERAL, HTTPS, MVG, MSL, TEXT, SHOW, WIN, and PLT fail to properly validate input, so shell metacharacters embedded in a crafted image are passed through to the system. An attacker who can supply a crafted image to ImageMagick can execute arbitrary code, requiring no authentication or user interaction.

Official description · NVD

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to execute arbitrary code via shell metacharacters in a crafted image, aka "ImageTragick."

Breakdown
68.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 1 day before it was disclosed. Public exploit code (Metasploit) was available 2 days before disclosure.

  1. Public exploit codeMetasploit2 days before
  2. First seen exploitedVulnCheck KEV evidence1 day before
  3. Disclosedday 0
  4. Added to CISA KEVEU database agrees+8 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

shell metacharacters yield arbitrary command execution

execute arbitrary code via shell metacharacters
From the official description (NVD) Original (opens in a new tab) ↗
Malicious File T1204.002 Medium
AI mapping from the description · how it is exploited

victim processes a malicious crafted image file

allow remote attackers to execute arbitrary code via shell metacharacters in a crafted image
From the official description (NVD) Original (opens in a new tab) ↗
Lower-confidence links (3)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Drive-by CompromiseT1189 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Exploitation for Client ExecutionT1203 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Malicious LinkT1204.001 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

Detection

0 rules for this CVE · 134 general rules for its techniques

Rules for this CVE

0 that reference CVE-2016-3714 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

31 links, grouped by NVD tag (30 duplicates merged)
↑ ↓ chooseEnter openEsc close