4Images Details.PHP Cross-Site Scripting Vulnerability
BID:20488
Info
4Images Details.PHP Cross-Site Scripting Vulnerability
| Bugtraq ID: | 20488 |
| Class: | Input Validation Error |
| CVE: |
2006-4206 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 12 2006 12:00AM |
| Updated: | Oct 16 2006 08:14PM |
| Credit: | Christian Marthen <[email protected]> is credited with the discovery of this vulnerability. |
| Vulnerable: |
4homepages 4images 1.7.3 4homepages 4images 1.7.1 4homepages 4images 1.7 |
| Not Vulnerable: | |
Discussion
4Images Details.PHP Cross-Site Scripting Vulnerability
4images is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage this issue to have arbitrary script code execute in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
Version 1.7.3 is vulnerable; other versions may also be affected.
4images is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage this issue to have arbitrary script code execute in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
Version 1.7.3 is vulnerable; other versions may also be affected.
Exploit / POC
4Images Details.PHP Cross-Site Scripting Vulnerability
To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.
The following proof-of-concept URI is available:
www.example.com/details.php?image_id=3&mode=%22%3E%3Ciframe%20src%3Dhttp%3A%2F%2Fwww.google.de%20width%3D150%20height%3D%22150
To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.
The following proof-of-concept URI is available:
www.example.com/details.php?image_id=3&mode=%22%3E%3Ciframe%20src%3Dhttp%3A%2F%2Fwww.google.de%20width%3D150%20height%3D%22150
Solution / Fix
4Images Details.PHP Cross-Site Scripting Vulnerability
Solution:
The vendor has released a patch to address this issue. Please see the references for more information.
Solution:
The vendor has released a patch to address this issue. Please see the references for more information.
References
4Images Details.PHP Cross-Site Scripting Vulnerability
References:
References:
- [1.7 - 1.7.3] Security fix for Cross-Site Scripting Vulnerability (4images)
- 4images Homepage (4homepages)