Coppermine Photo Gallery 'IMG' BBCode HTML Injection Vulnerability
BID:33917
Info
Coppermine Photo Gallery 'IMG' BBCode HTML Injection Vulnerability
| Bugtraq ID: | 33917 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 26 2009 12:00AM |
| Updated: | Feb 26 2009 08:57PM |
| Credit: | Juri Gianni |
| Vulnerable: |
Coppermine Photo Gallery 1.4.20 Coppermine Photo Gallery 1.4.18 Coppermine Photo Gallery 1.4.17 Coppermine Photo Gallery 1.4.16 Coppermine Photo Gallery 1.4.15 Coppermine Photo Gallery 1.4.14 Coppermine Photo Gallery 1.4.13 Coppermine Photo Gallery 1.4.12 Coppermine Photo Gallery 1.4.11 Coppermine Photo Gallery 1.4.10 Coppermine Photo Gallery 1.4.9 Coppermine Photo Gallery 1.4.4 Coppermine Photo Gallery 1.4.3 Coppermine Photo Gallery 1.4.2 Coppermine Photo Gallery 1.4 |
| Not Vulnerable: | |
Discussion
Coppermine Photo Gallery 'IMG' BBCode HTML Injection Vulnerability
Coppermine Photo Gallery is prone to an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied data.
Attacker-supplied HTML or JavaScript code could run in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials and to control how the site is rendered to the user; other attacks are also possible.
Coppermine Photo Gallery 1.4.2 is vulnerable; other versions may also be affected.
Coppermine Photo Gallery is prone to an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied data.
Attacker-supplied HTML or JavaScript code could run in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials and to control how the site is rendered to the user; other attacks are also possible.
Coppermine Photo Gallery 1.4.2 is vulnerable; other versions may also be affected.
Exploit / POC
Coppermine Photo Gallery 'IMG' BBCode HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
Supplying the following to a new message to an administrator is sufficient to exploit this issue:
[img]http://www.example.com/delete.php?id=u3&u3=&action=change_group&what=user&new_password=&group=1&delete_files=no&delete_comments=no[/img]
The following exploit is available:
Attackers can use a browser to exploit this issue.
Supplying the following to a new message to an administrator is sufficient to exploit this issue:
[img]http://www.example.com/delete.php?id=u3&u3=&action=change_group&what=user&new_password=&group=1&delete_files=no&delete_comments=no[/img]
The following exploit is available:
Solution / Fix
Coppermine Photo Gallery 'IMG' BBCode HTML Injection Vulnerability
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
Coppermine Photo Gallery 'IMG' BBCode HTML Injection Vulnerability
References:
References:
- Coppermine Photo Gallery Homepage (Coppermine Photo Gallery)