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 Bugtraq
[Top] [All Lists]

Cross Site Scripting exploitation via malformed files

Subject: Cross Site Scripting exploitation via malformed files
Date: 21 Feb 2005 16:25:04 -0000


It was publicly released on different forums 
(http://cyruxnet.org/foro/viewtopic.php?t=559); multiple webmail systems and 
websites are vulnerable to Cross Site Scripting via a malformed file.

A basic PoC :

Build a text file (ie: photo.txt)

<script language="Javascript">
alert('Vulnerable!');
</script>

then rename the file with the .jpg extension (photo.jpg), and send the renamed 
file as attachement by mail to the victim.

On many webmail systems, when the JPG file is downloaded, then the script is 
executed (you can play with javascript, vbscript,...)

It was verified under IE - XP SP2

So it opens a door for virus...


Regards and greetings to: ZaBoo, whitehat.co.il, Class101, Mandragore

Jerome ATHIAS

<Prev in Thread] Current Thread [Next in Thread>