HTML::BBCode HTML Injection Vulnerability
BID:16680
Info
HTML::BBCode HTML Injection Vulnerability
| Bugtraq ID: | 16680 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 15 2006 12:00AM |
| Updated: | Feb 16 2006 08:02PM |
| Credit: | Aliaksandr Hartsuyeu is credited with the discovery of this vulnerability. |
| Vulnerable: |
HTML::BBCode HTML::BBCode 1.04 HTML::BBCode HTML::BBCode 1.03 |
| Not Vulnerable: |
HTML::BBCode HTML::BBCode 1.05 |
Discussion
HTML::BBCode HTML Injection Vulnerability
HTML::BBCode is prone to an HTML-injection vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input before using it in dynamically generated content.
Attacker-supplied HTML and script code would be executed in the context of the affected site, potentially allowing for the theft of cookie-based authentication credentials. An attacker could also exploit this issue to control how the site is rendered to the user; other attacks are also possible.
HTML::BBCode is prone to an HTML-injection vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input before using it in dynamically generated content.
Attacker-supplied HTML and script code would be executed in the context of the affected site, potentially allowing for the theft of cookie-based authentication credentials. An attacker could also exploit this issue to control how the site is rendered to the user; other attacks are also possible.
Exploit / POC
HTML::BBCode HTML Injection Vulnerability
An exploit is not required.
Examples have been provided:
[img]javascript:alert(123)[/img]
[url=javascript:alert(123)]Click me[/url]
An exploit is not required.
Examples have been provided:
[img]javascript:alert(123)[/img]
[url=javascript:alert(123)]Click me[/url]
Solution / Fix
HTML::BBCode HTML Injection Vulnerability
Solution:
A fix is available:
HTML::BBCode HTML::BBCode 1.04
HTML::BBCode HTML::BBCode 1.03
Solution:
A fix is available:
HTML::BBCode HTML::BBCode 1.04
-
HTML::BBCode HTML-BBCode-1.05.tar.gz
http://menno.b10m.net/perl/dists/HTML-BBCode-1.05.tar.gz
HTML::BBCode HTML::BBCode 1.03
-
HTML::BBCode HTML-BBCode-1.05.tar.gz
http://menno.b10m.net/perl/dists/HTML-BBCode-1.05.tar.gz
References
HTML::BBCode HTML Injection Vulnerability
References:
References: