Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security FullDisclosure
[Top] [All Lists]

[Full-disclosure] YouTube Persistent Messaging XSS Vulnerability *UPDATE

Subject: [Full-disclosure] YouTube Persistent Messaging XSS Vulnerability *UPDATED*
Date: Sat, 30 Sep 2006 11:40:10 -0400
YouTube Persistent Messaging XSS Vulnerability
September 30, 2006

Overview:
As I'm sure everyone knows; YouTube is the internet's leading video
destination site and one of the fastest-growing websites on the web.
It's ranked as the 10th most popular website on Alexa, far outpacing
even MySpace's growth.

Vulnerability:
YouTube has a robust message/email functionality to allow users
communicate and share content within the YouTube user environment.
The YouTube messaging system is vulnerable to multiple persistent XSS
vulnerabilities via the subject and message body fields allowing the
theft of user session information and other bad stuff.

XSS #1:
YouTube fails to sanitize the value of the HIDDEN HTML tag
"field_sendmessage_subject" which is rendered as part of the message
read process.

<input type="hidden" name="field_sendmessage_subject" value="MY SUBJECT">

A malicious user can send a message with a subject which terminates
the 'value' attribute and inserts malicious code.

Example Subject:

Check out my video!"><script>alert(document.cookie);</script>


XSS #2:
YouTube fails to sanitize the content of the "field_sendmessage_body"
textarea which is rendered as part of the read process. allowing a
malicious user terminate the textarea scope and inject malicious code.

<textarea name="field_sendmessage_body">MY MESSAGE BODY</textarea>

A malicious user can send a message body which terminates
the textarea scope and inserts malicious code.

Message Body Example:

This is my message!</textarea><script>alert(document.cookie);</script>


Thank you,

Darren Bounds

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

<Prev in Thread] Current Thread [Next in Thread>
  • [Full-disclosure] YouTube Persistent Messaging XSS Vulnerability *UPDATED*, Darren Bounds <=