Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: Cross Site Scripting exploitation via malformed files

Cross Site Scripting exploitation via malformed files

From: Jerome ATHIAS <jerome.athias_at_free.fr>
Date: 21 Feb 2005 16:25:04 -0000
('binary' encoding is not supported, stored as-is) 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)

&lt;script language="Javascript">
alert('Vulnerable!');
&lt;/script&gt;

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
Received on Feb 22 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]