LiveJournal Cleanhtml.PL HTML Injection Vulnerability
BID:15990
Info
LiveJournal Cleanhtml.PL HTML Injection Vulnerability
| Bugtraq ID: | 15990 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 20 2005 12:00AM |
| Updated: | Dec 20 2005 12:00AM |
| Credit: | Andrew Farmer is credited with the discovery of this vulnerability. |
| Vulnerable: |
LiveJournal LiveJournal |
| Not Vulnerable: | |
Discussion
LiveJournal Cleanhtml.PL HTML Injection Vulnerability
LiveJournal 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 Web site, potentially allowing for 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.
LiveJournal 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 Web site, potentially allowing for 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
LiveJournal Cleanhtml.PL HTML Injection Vulnerability
No exploit is required.
Example HTML exploit code has been provided:
<span style="background:url('javas\cript:(function x(){alert("boo")})();');">test</span>
No exploit is required.
Example HTML exploit code has been provided:
<span style="background:url('javas\cript:(function x(){alert("boo")})();');">test</span>
Solution / Fix
LiveJournal Cleanhtml.PL HTML Injection Vulnerability
Solution:
The vendor has released a CVS version to resolve this issue; please contact the vendor for further information.
Solution:
The vendor has released a CVS version to resolve this issue; please contact the vendor for further information.