{"uuid": "b9c9c5f2-5657-4968-99d7-a375a00164cd", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2025-54236", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/magento_sessionreaper.rb", "content": "{\"aliases\": [], \"arch\": \"php, cmd\", \"author\": [\"Blaklis\", \"Tomais Williamson\", \"Valentin Lobstein \"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits CVE-2025-54236 (SessionReaper), a critical vulnerability in\\n          Magento/Adobe Commerce that allows unauthenticated remote code execution.\\n\\n          The vulnerability stems from improper handling of nested deserialization in the\\n          payment method context, combined with an unauthenticated file upload endpoint.\\n\\n          The exploit chain consists of three steps:\\n          1. Upload a malicious PHP session file containing a Guzzle/FW1 deserialization\\n          payload via the unauthenticated /customer/address_file/upload endpoint\\n          2. Trigger deserialization by sending a crafted JSON payload to the REST API\\n          endpoint /rest/default/V1/guest-carts/{cart_id}/order that modifies the\\n          session savePath to point to the uploaded file\\n          3. Execute the uploaded PHP code to gain remote code execution\\n\\n          This vulnerability affects Magento 2.x instances configured to use file-based\\n          session storage. Patched versions will return a 400 Bad Request response instead\\n          of processing the malicious payload.\", \"disclosure_date\": \"2025-10-22\", \"fullname\": \"exploit/multi/http/magento_sessionreaper\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"Magento SessionReaper\", \"needs_cleanup\": true, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/magento_sessionreaper.rb\", \"platform\": \"Linux,PHP,Unix,Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/magento_sessionreaper\", \"references\": [\"CVE-2025-54236\", \"URL-https://slcyber.io/research-center/why-nested-deserialization-is-still-harmful-magento-rce-cve-2025-54236/\", \"URL-https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-27397\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"PHP In-Memory\", \"Unix/Linux Command Shell\", \"Windows Command Shell\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:01.034112Z"}