{
  "id": "CVE-2016-3714",
  "url": "https://poc.griffinguard.io/cve/CVE-2016-3714",
  "published_at": "2016-05-05T18:00:00Z",
  "title": "ImageMagick Improper Input Validation Vulnerability",
  "vendor": "ImageMagick",
  "product": "ImageMagick",
  "cvss": {
    "score": 8.4,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-09-09",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 3049
  },
  "first_poc": {
    "created_at": "2016-05-04T00:00:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -1.8,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/39767"
  },
  "poc_repo_count": 10,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.\"",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cisa-adp": 8.4
  },
  "repos": [
    {
      "repo": "jackdpeterson/imagick_secure_puppet",
      "url": "https://github.com/jackdpeterson/imagick_secure_puppet",
      "created_at": "2016-05-04T04:30:25Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-07-26T06:28:52Z"
    },
    {
      "repo": "tommiionfire/CVE-2016-3714",
      "url": "https://github.com/tommiionfire/CVE-2016-3714",
      "created_at": "2016-05-04T09:47:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-06-09T08:32:48Z"
    },
    {
      "repo": "chusiang/CVE-2016-3714.ansible.role",
      "url": "https://github.com/chusiang/CVE-2016-3714.ansible.role",
      "created_at": "2016-05-05T11:05:20Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2010-03-09T13:03:52Z"
    },
    {
      "repo": "jpeanut/ImageTragick-CVE-2016-3714-RShell",
      "url": "https://github.com/jpeanut/ImageTragick-CVE-2016-3714-RShell",
      "created_at": "2016-05-05T18:16:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-03-15T15:04:53Z"
    },
    {
      "repo": "Hood3dRob1n/CVE-2016-3714",
      "url": "https://github.com/Hood3dRob1n/CVE-2016-3714",
      "created_at": "2016-05-07T08:21:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 70,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-06-22T14:35:56Z"
    },
    {
      "repo": "Macr0phag3/Exp-or-Poc",
      "url": "https://github.com/Macr0phag3/Exp-or-Poc",
      "created_at": "2018-04-28T14:26:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-06T13:17:50Z"
    },
    {
      "repo": "shelld3v/RCE-python-oneliner-payload",
      "url": "https://github.com/shelld3v/RCE-python-oneliner-payload",
      "created_at": "2020-04-02T08:31:44Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 32,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-01-01T09:03:59Z"
    },
    {
      "repo": "snyk-labs/container-breaking-in-goof",
      "url": "https://github.com/snyk-labs/container-breaking-in-goof",
      "created_at": "2020-07-30T06:29:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-02-19T19:07:16Z"
    },
    {
      "repo": "MrrRaph/pandagik",
      "url": "https://github.com/MrrRaph/pandagik",
      "created_at": "2022-04-26T17:12:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-12-12T09:04:25Z"
    },
    {
      "repo": "PandH4cker/pandagik",
      "url": "https://github.com/PandH4cker/pandagik",
      "created_at": "2022-04-26T17:12:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-12-12T09:04:25Z"
    },
    {
      "repo": "SgtMate/container_escape_showcase",
      "url": "https://github.com/SgtMate/container_escape_showcase",
      "created_at": "2022-11-17T17:24:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-01-13T14:49:08Z"
    },
    {
      "repo": "JoshMorrison99/CVE-2016-3714",
      "url": "https://github.com/JoshMorrison99/CVE-2016-3714",
      "created_at": "2022-12-02T20:19:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-01-24T04:49:28Z"
    },
    {
      "repo": "mmomtchev/magickwand.js",
      "url": "https://github.com/mmomtchev/magickwand.js",
      "created_at": "2023-01-04T20:08:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 95,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-08-28T13:46:05Z"
    },
    {
      "repo": "sardine-web/File-Upload",
      "url": "https://github.com/sardine-web/File-Upload",
      "created_at": "2025-06-24T17:58:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-03-14T15:14:00Z"
    },
    {
      "repo": "CyberCTF/vulhub-imagemagick-cve-2016-3714",
      "url": "https://github.com/CyberCTF/vulhub-imagemagick-cve-2016-3714",
      "created_at": "2026-10-08T20:00:38Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-12-01T11:12:42Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/39767/",
      "source": "cvelist",
      "title": "39767",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/39791/",
      "source": "cvelist",
      "title": "39791",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/39767",
      "source": "exploitdb",
      "title": "ImageMagick 7.0.1-0 / 6.9.3-9 - 'ImageTragick ' Multiple Vulnerabilities",
      "published_at": "2016-05-04T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/39791",
      "source": "exploitdb",
      "title": "ImageMagick 6.9.3-9 / 7.0.1-0 - 'ImageTragick' Delegate Arbitrary Command Execution (Metasploit)",
      "published_at": "2016-05-09T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/imagemagick_delegate.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: ImageMagick Delegate Arbitrary Command Execution (exploit/unix/fileformat/imagemagick_delegate)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "http://www.rapid7.com/db/modules/exploit/unix/fileformat/imagemagick_delegate",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/",
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "body_markers": [
        "------WebKitFormBoundarymdcbmdQR1sDse9Et\nContent-Disposition: form-data; name=\"file_upload\"; filename=\"1.gif\"\nContent-Ty"
      ],
      "content_type": "multipart/form-data; boundary=----WebKitFormBoundarymdcbmdQR1sDse9Et",
      "ports": [
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "CyberCTF/vulhub-imagemagick-cve-2016-3714"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "CyberCTF/vulhub-imagemagick-cve-2016-3714/build/web/app/README.md:30",
        "CyberCTF/vulhub-imagemagick-cve-2016-3714/build/web/app/README.zh-cn.md:28"
      ]
    },
    {
      "method": "POST",
      "path_template": "/images/upload/",
      "headers": [
        {
          "name": "Content-Disposition",
          "value": "form-data; name=\"uploaded\"; filename=\"shell.php\""
        }
      ],
      "content_type": "image/jpeg",
      "protocol": "https",
      "repos": [
        "sardine-web/File-Upload"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "sardine-web/File-Upload/README.md:19"
      ]
    },
    {
      "method": "GET",
      "path_template": "/Discuz/upload/home.php",
      "query_markers": [
        "mod=spacecp"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "R98R_2132_sid=uIwx30; R98R_2132_saltkey=ZfMPeG8T; R98R_2132_lastvisit=1524725697; R98R_2132_lastact=1524729433%09misc.php%09patch; R98R_2132_sendmail=1; R98R_2132__refer=%252FDiscuz%252Fupload%252Fhome.php%253Fmod%253Dspacecp; R98R_2132_seccode=6.e82c9961ebeb572ac1; R98R_2132_home_readfeed=1524729307; R98R_2132_onlineusernum=2; R98R_2132_ulastactivity=77d8RxCUWyDPKNhcjeQio8LJ3J8l5X1OFJlVnzRJWkaoIwn31iUg; R98R_2132_auth=6feac1%2BRPMBYeq%2F8Rad4pgdy8oVsryQNd50dN2ghe4985fhLIN3Ia23l1%2BvZBEYeKQml%2BBQ%2B6odORlVkQzTQ; R98R_2132_lastcheckfeed=2%7C1524729428; R98R_2132_checkfollow=1; R98R_2132_lip=%3A%3A1%2C1524729433; R98R_2132_nofavfid=1; R98R_2132_checkpm=1"
        }
      ],
      "protocol": "http",
      "repos": [
        "Macr0phag3/Exp-or-Poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Macr0phag3/Exp-or-Poc/Discuz-v\u003c=3.4-delete-file/Discuz.py:17"
      ]
    },
    {
      "method": "GET",
      "path_template": "/public/%2e%2e/%2e%2e/%2e%2e/foo/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd",
      "ports": [
        3112
      ],
      "protocol": "http",
      "repos": [
        "snyk-labs/container-breaking-in-goof"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "snyk-labs/container-breaking-in-goof/README.md:112"
      ]
    },
    {
      "method": "POST",
      "path_template": "/Discuz/upload/home.php",
      "query_markers": [
        "mod=spacecp",
        "ac=profile",
        "op=base"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "R98R_2132_sid=uIwx30; R98R_2132_saltkey=ZfMPeG8T; R98R_2132_lastvisit=1524725697; R98R_2132_lastact=1524729433%09misc.php%09patch; R98R_2132_sendmail=1; R98R_2132__refer=%252FDiscuz%252Fupload%252Fhome.php%253Fmod%253Dspacecp; R98R_2132_seccode=6.e82c9961ebeb572ac1; R98R_2132_home_readfeed=1524729307; R98R_2132_onlineusernum=2; R98R_2132_ulastactivity=77d8RxCUWyDPKNhcjeQio8LJ3J8l5X1OFJlVnzRJWkaoIwn31iUg; R98R_2132_auth=6feac1%2BRPMBYeq%2F8Rad4pgdy8oVsryQNd50dN2ghe4985fhLIN3Ia23l1%2BvZBEYeKQml%2BBQ%2B6odORlVkQzTQ; R98R_2132_lastcheckfeed=2%7C1524729428; R98R_2132_checkfollow=1; R98R_2132_lip=%3A%3A1%2C1524729433; R98R_2132_nofavfid=1; R98R_2132_checkpm=1"
        }
      ],
      "body_markers": [
        "birthprovince=../../../test.txt",
        "# bypass isset({var}['birthprovince']) in 100\r\n    'profilesubmit'=1",
        "# bypass submitcheck('profilesubmit') in 71\r\n    'formhash'="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "Macr0phag3/Exp-or-Poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Macr0phag3/Exp-or-Poc/Discuz-v\u003c=3.4-delete-file/Discuz.py:29",
        "Macr0phag3/Exp-or-Poc/Discuz-v\u003c=3.4-delete-file/Discuz.py:35"
      ]
    }
  ],
  "rules": []
}
