{"uuid": "05ed428c-1380-4c79-b3f2-7e8cbb0ea02d", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2019-6340", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/drupal_restws_unserialize.rb", "content": "{\"aliases\": [], \"arch\": \"php, cmd\", \"author\": [\"Jasper Mattsson\", \"Charles Fol\", \"Rotem Reiss\", \"wvu \"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a PHP unserialize() vulnerability in Drupal RESTful\\n          Web Services by sending a crafted request to the /node REST endpoint.\\n\\n          As per SA-CORE-2019-003, the initial remediation was to disable POST,\\n          PATCH, and PUT, but Ambionics discovered that GET was also vulnerable\\n          (albeit cached). Cached nodes can be exploited only once.\\n\\n          Drupal updated SA-CORE-2019-003 with PSA-2019-02-22 to notify users of\\n          this alternate vector.\\n\\n          Drupal &lt; 8.5.11 and &lt; 8.6.10 are vulnerable.\", \"disclosure_date\": \"2019-02-20\", \"fullname\": \"exploit/unix/webapp/drupal_restws_unserialize\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:59:12 +0000\", \"name\": \"Drupal RESTful Web Services unserialize() RCE\", \"needs_cleanup\": null, \"notes\": {\"AKA\": [\"SA-CORE-2019-003\"], \"Reliability\": [\"unreliable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/unix/webapp/drupal_restws_unserialize.rb\", \"platform\": \"PHP,Unix\", \"post_auth\": false, \"rank\": 300, \"ref_name\": \"unix/webapp/drupal_restws_unserialize\", \"references\": [\"CVE-2019-6340\", \"URL-https://www.drupal.org/sa-core-2019-003\", \"URL-https://www.drupal.org/psa-2019-02-22\", \"URL-https://www.ambionics.io/blog/drupal8-rce\", \"URL-https://github.com/ambionics/phpggc\", \"URL-https://twitter.com/jcran/status/1099206271901798400\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"PHP In-Memory\", \"Unix In-Memory\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:41.772752Z"}