{"uuid": "54869a38-d22d-4a5d-a75f-86e8efd0b58c", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2025-48827", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/vbulletin_replace_ad_template_rce.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"Egidio Romano (EgiX)\", \"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 a design flaw in vBulletin's AJAX API handler and template rendering system,\\n          present in versions 5.0.0 through 6.0.3. The vulnerability allows unauthenticated attackers\\n          to invoke protected controller methods via the ajax/api/ad/replaceAdTemplate endpoint,\\n          due to improper use of PHP's Reflection API in combination with changes in PHP 8.1+.\\n\\n          Specifically, it targets the vB_Api_Ad::replaceAdTemplate() method to inject a template\\n          containing a  conditional that evaluates attacker-supplied PHP using the\\n          \\\"system\\\"($_POST[]) construct. The malicious template is then executed via\\n          a second unauthenticated request to ajax/render/ad_.\\n\\n          Successful exploitation results in arbitrary command execution as the webserver user,\\n          without authentication. This module supports payloads for PHP, Linux, and Windows.\\n\\n          Tested against vBulletin 5.1.0, 5.7.5, 6.0.1, and 6.0.3 running on PHP 8.1.\", \"disclosure_date\": \"2025-05-23\", \"fullname\": \"exploit/multi/http/vbulletin_replace_ad_template_rce\", \"is_install_path\": true, \"mod_time\": \"2026-04-02 17:30:43 +0000\", \"name\": \"vBulletin replaceAdTemplate Remote Code Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/vbulletin_replace_ad_template_rce.rb\", \"platform\": \"Linux,Unix,Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/vbulletin_replace_ad_template_rce\", \"references\": [\"URL-https://karmainsecurity.com/dont-call-that-protected-method-vbulletin-rce\", \"CVE-2025-48827\", \"CVE-2025-48828\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Unix/Linux Command Shell\", \"Windows Command Shell\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:18.273366Z"}