LiveJournal Cleanhtml.PL HTML Injection Vulnerability

ID EDB-ID:26917
Type exploitdb
Reporter Andrew Farmer
Modified 2005-12-20T00:00:00


LiveJournal Cleanhtml.PL HTML Injection Vulnerability. CVE-2005-4454 . Webapps exploit for cgi platform


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. 

Example HTML exploit code has been provided:

<span style="background:url('javas\cript:(function x(){alert("boo")})();');">test</span>