what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

eBay SQL Injection

eBay SQL Injection
Posted May 25, 2014
Authored by Joshua Rogers

3.ebay.com.au suffered from a remote SQL injection vulnerability.

tags | advisory, remote, sql injection
SHA-256 | ac896c8d7f84eab08d888bc38f0ffbac7bc78ada59535a0ebae9c502787f512c

eBay SQL Injection

Change Mirror Download



Title: eBay Union SQL Injection



Whilst looking for some bugs in ebay, I came across the domain
http://3.ebay.com.au/. It appears to be a domain for phone users on the
old "Three" phone carrier/network, but I'm unsure. Three was bought out
by Vodaphone awhile ago.


The website is the exact same as http://imode.ebay.de/,
http://imode.ebay.fr/, etc.



On the third tab of the page, there's a link to the 'Categories'
section. -- If anybody has every used eBay before, they would understand
what this is; a list of categories as to where you can view items to
buy.(Or in this case, go into a sub-category.)


Instinctively, I saw that there were a few $_GET parameters being used,
so I just put a simple apostrophe into the end of the first parameter,
"emv_CatParent".

To my amazement, it came back with a half-completed page. -- Pretty much
the poster-child of a blind SQL Injection.


I had trouble actually exploring this vulnerability, as I came to figure
out that Microsoft SQL Server was being used for the backend, not a
unix-based one. This created problems.


Due to my lack of MSDB knowledge, I had to load the website into sqlmap
and do everything through there.


First, I scanned the parameter to see if my assumption was right.

Viola..

[INFO] GET parameter 'emv_CatParent' is 'Generic UNION query (NULL) - 1
to 10 columns' injectable


Not only that, but;

[01:34:38] [INFO] GET parameter 'emv_CatParent' seems to be 'Microsoft
SQL Server/Sybase stacked queries' injectable



Which means possible file write/read. - I didn't look further into this
though.



I explored column names, but no further.

Here's some screenshots:

(Found here:
http://blog.internot.info/2014/05/sql-injection-on-ebaycomau-subdomain.html)



==Timeline==


[*] Date of discovery: 19/05/2014

[*] Date of report to eBay: 19/05/2014

[*] Date of patch/deployment: 24/05/2014

[*] Public Disclosure: 25/05/2014



==Credits==


Joshua Rogers - www.internot.info <http://www.internot.info>
(@MegaManSec <https://www.twitter.com/MegaManSec>)


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close