Syntax Highlighter 'index.html' HTML Injection Vulnerability
BID:42572
Info
Syntax Highlighter 'index.html' HTML Injection Vulnerability
| Bugtraq ID: | 42572 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 19 2010 12:00AM |
| Updated: | Aug 19 2010 12:00AM |
| Credit: | indoushka |
| Vulnerable: |
Syntax Highlighter Syntax Highlighter 3.0.83 |
| Not Vulnerable: | |
Discussion
Syntax Highlighter 'index.html' HTML Injection Vulnerability
Syntax Highlighter is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.
Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.
Syntax Highlighter version 3.0.83 is vulnerable; others may also be affected.
Syntax Highlighter is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.
Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.
Syntax Highlighter version 3.0.83 is vulnerable; others may also be affected.
Exploit / POC
Syntax Highlighter 'index.html' HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example data is available:
Inject the code ">"">>>><script>location="http://www.alkrsan.net"</script>""""> in index.html
Attackers can use a browser to exploit this issue.
The following example data is available:
Inject the code ">"">>>><script>location="http://www.alkrsan.net"</script>""""> in index.html
Solution / Fix
Syntax Highlighter 'index.html' 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
Syntax Highlighter 'index.html' HTML Injection Vulnerability
References:
References:
- Home page (Syntax Highlighter)