{
  "id": "CVE-2018-7602",
  "url": "https://poc.griffinguard.io/cve/CVE-2018-7602",
  "published_at": "2018-07-19T17:00:00Z",
  "title": "Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004",
  "vendor": "Drupal",
  "product": "core",
  "cvss": {
    "score": 8.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-04-13",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 1364
  },
  "first_poc": {
    "created_at": "2018-04-25T00:00:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -85.7,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/44542"
  },
  "poc_repo_count": 8,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being compromised. This vulnerability is related to Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-002. Both SA-CORE-2018-002 and this vulnerability are being exploited in the wild.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cisa-adp": 8.1
  },
  "repos": [
    {
      "repo": "pimps/CVE-2018-7600",
      "url": "https://github.com/pimps/CVE-2018-7600",
      "created_at": "2018-04-17T15:38:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 141,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-03-09T16:25:33Z"
    },
    {
      "repo": "oways/SA-CORE-2018-004",
      "url": "https://github.com/oways/SA-CORE-2018-004",
      "created_at": "2018-04-26T22:10:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 40,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-02-22T05:57:06Z"
    },
    {
      "repo": "1337g/Drupalgedon3",
      "url": "https://github.com/1337g/Drupalgedon3",
      "created_at": "2018-04-27T01:59:31Z",
      "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": "2017-10-04T04:27:16Z"
    },
    {
      "repo": "rithchard/Drupalgeddon3",
      "url": "https://github.com/rithchard/Drupalgeddon3",
      "created_at": "2018-04-29T19:24:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 43,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-06-02T12:40:49Z"
    },
    {
      "repo": "happynote3966/CVE-2018-7602",
      "url": "https://github.com/happynote3966/CVE-2018-7602",
      "created_at": "2018-07-12T05:08:14Z",
      "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": "2016-06-02T22:53:07Z"
    },
    {
      "repo": "kastellanos/CVE-2018-7602",
      "url": "https://github.com/kastellanos/CVE-2018-7602",
      "created_at": "2018-10-29T12:08:53Z",
      "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": "2013-05-08T01:19:13Z"
    },
    {
      "repo": "cyberharsh/DrupalCVE-2018-7602",
      "url": "https://github.com/cyberharsh/DrupalCVE-2018-7602",
      "created_at": "2020-06-25T12:06:07Z",
      "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": "2019-11-06T07:47:57Z"
    },
    {
      "repo": "132231g/CVE-2018-7602",
      "url": "https://github.com/132231g/CVE-2018-7602",
      "created_at": "2024-02-18T08:51:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-04-14T09:51:28Z"
    },
    {
      "repo": "d4ytox/CVE-2018-7602",
      "url": "https://github.com/d4ytox/CVE-2018-7602",
      "created_at": "2026-11-10T11:08:55Z",
      "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": "2025-03-19T17:56:26Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 7.0, \u003c 7.59"
        ],
        "fixed_in": [
          "7.59"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-297x-j9pm-xjgg"
      },
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 8.0, \u003c 8.4.8"
        ],
        "fixed_in": [
          "8.4.8"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-297x-j9pm-xjgg"
      },
      {
        "vendor": "",
        "product": "drupal/core",
        "ranges": [
          "\u003e= 8.5, \u003c 8.5.3"
        ],
        "fixed_in": [
          "8.5.3"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-297x-j9pm-xjgg"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 7.0, \u003c 7.59"
        ],
        "fixed_in": [
          "7.59"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-297x-j9pm-xjgg"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 8.0, \u003c 8.4.8"
        ],
        "fixed_in": [
          "8.4.8"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-297x-j9pm-xjgg"
      },
      {
        "vendor": "",
        "product": "drupal/drupal",
        "ranges": [
          "\u003e= 8.5, \u003c 8.5.3"
        ],
        "fixed_in": [
          "8.5.3"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-297x-j9pm-xjgg"
      }
    ],
    "upgrade": [
      "Upgrade drupal/core to 7.59 or later.",
      "Upgrade drupal/core to 8.4.8 or later.",
      "Upgrade drupal/core to 8.5.3 or later.",
      "Upgrade drupal/drupal to 7.59 or later.",
      "Upgrade drupal/drupal to 8.4.8 or later.",
      "Upgrade drupal/drupal to 8.5.3 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/44542/",
      "source": "cvelist",
      "title": "44542",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/44557/",
      "source": "cvelist",
      "title": "44557",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/44542",
      "source": "exploitdb",
      "title": "Drupal \u003c 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code Execution (PoC)",
      "published_at": "2018-04-25T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/44557",
      "source": "exploitdb",
      "title": "Drupal \u003c 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code (Metasploit)",
      "published_at": "2018-04-30T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7602.yaml",
      "source": "nuclei",
      "title": "nuclei template: Drupal - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/",
      "query_markers": [
        "q=node/",
        "destination=node?q[%23][]=passthru\u0026q[%23type]=markup\u0026q[%23markup]=",
        "q=node/99/delete",
        "destination=node?q[%23][]=passthru\u0026q[%23type]=markup\u0026q[%23markup]=whoami",
        "destination=node?q[%23post_render][]=passthru\u0026q[%23type]=markup\u0026q[%23markup]=",
        "q=file/ajax/actions/cancel/#options/path/"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "form_id=node_delete_confirm",
        "_triggering_element_name=form_id",
        "form_token=",
        "form_build_id="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "1337g/Drupalgedon3",
        "happynote3966/CVE-2018-7602",
        "oways/SA-CORE-2018-004"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "1337g/Drupalgedon3/exploit.py:30",
        "happynote3966/CVE-2018-7602/44542.txt:5",
        "happynote3966/CVE-2018-7602/drupalgeddon3.py:28",
        "happynote3966/CVE-2018-7602/drupalgeddon3.py:32",
        "happynote3966/CVE-2018-7602/drupalgeddon3_update.py:28",
        "happynote3966/CVE-2018-7602/drupalgeddon3_update.py:32",
        "oways/SA-CORE-2018-004/drupalgeddon3.py:28",
        "oways/SA-CORE-2018-004/drupalgeddon3.py:32"
      ]
    },
    {
      "method": "POST",
      "path_template": "/drupal/",
      "query_markers": [
        "q=file/ajax/actions/cancel/#options/path/",
        "q=file/ajax/actions/cancel/#options/path/[FORM_BUILD_ID]"
      ],
      "protocol": "http",
      "repos": [
        "1337g/Drupalgedon3",
        "happynote3966/CVE-2018-7602"
      ],
      "repo_count": 2,
      "confidence": 0.85,
      "evidence": [
        "1337g/Drupalgedon3/exploit.py:35",
        "happynote3966/CVE-2018-7602/44542.txt:11"
      ]
    },
    {
      "method": "GET",
      "path_template": "/node/{var}/delete",
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "protocol": "http",
      "repos": [
        "happynote3966/CVE-2018-7602",
        "oways/SA-CORE-2018-004"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "happynote3966/CVE-2018-7602/drupalgeddon3.py:24",
        "oways/SA-CORE-2018-004/drupalgeddon3.py:24"
      ]
    },
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "q=node/"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "protocol": "http",
      "repos": [
        "happynote3966/CVE-2018-7602"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "happynote3966/CVE-2018-7602/drupalgeddon3_update.py:24"
      ]
    }
  ],
  "rules": []
}
