{"uuid": "05f88401-c8ef-47ce-84b5-839c1b620a67", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-19518", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/php_imap_open_rce.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"Anton Lopanitsyn\", \"Twoster\", \"h00die\", \"Paolo Serracino\", \"Pietro Minniti\", \"Damiano Proietti\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"The imap_open function within php, if called without the /norsh flag, will attempt to preauthenticate an\\n          IMAP session.  On Debian based systems, including Ubuntu, rsh is mapped to the ssh binary.  Ssh's ProxyCommand\\n          option can be passed from imap_open to execute arbitrary commands.\\n          While many custom applications may use imap_open, this exploit works against the following applications:\\n          e107 v2, prestashop, SuiteCRM, as well as Custom, which simply prints the exploit strings for use.\\n          Prestashop exploitation requires the admin URI, and administrator credentials.\\n          suiteCRM/e107 require administrator credentials.  Fixed in php 5.6.39.\", \"disclosure_date\": \"2018-10-23\", \"fullname\": \"exploit/linux/http/php_imap_open_rce\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 13:20:20 +0000\", \"name\": \"php imap_open Remote Code Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"unknown-reliability\"], \"SideEffects\": [\"unknown-side-effects\"], \"Stability\": [\"unknown-stability\"]}, \"path\": \"/modules/exploits/linux/http/php_imap_open_rce.rb\", \"platform\": \"Unix\", \"post_auth\": false, \"rank\": 400, \"ref_name\": \"linux/http/php_imap_open_rce\", \"references\": [\"URL-https://web.archive.org/web/20181118213536/https://antichat.com/threads/463395\", \"URL-https://github.com/Bo0oM/PHP_imap_open_exploit\", \"EDB-45865\", \"EDB-46136\", \"URL-https://bugs.php.net/bug.php?id=76428\", \"CVE-2018-19518\", \"CVE-2018-1000859\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"prestashop\", \"suitecrm\", \"e107v2\", \"Horde IMP H3\", \"custom\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:51.743979Z"}