[NT] Internet Explorer Code Execution Through MIME Manipulation
From: SecuriTeam (support_at_securiteam.com)
Date: 08/14/05
- Previous message: SecuriTeam: "[TOOL] PA168 Web Interface Password Brute Forcer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 14 Aug 2005 17:34:19 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Internet Explorer Code Execution Through MIME Manipulation
------------------------------------------------------------------------
SUMMARY
Internet Explorer is unique in the way it handles files' content. Mainly
it does not handle the content based on the extension, rather based upon
the MIME detection engine built into the browser. An attacker can create a
file that contains active content (JavaScript etc) and give it a jpg
extension, then convince a user to access that so called image but instead
of the image being displayed the active content will be executed.
DETAILS
Vulnerable Systems:
* Microsoft Internet Explorer 6 and prior
Internet Explorer has been designed in such a way that it will use the
file's MIME type to identify its type rather than the file's extension
(for example: *.jpg).
This allows someone to cause a file that ends with jpg to not be processed
as an image file if the file's MIME type is different than the jpg.
Unfortunately, this allows attackers to create a file with active content
(e.g. Java or Javascript) and upload it with the extension of jpg to the
Internet, and then create a hyperlinked URL supposedly pointing to an
innocent jpg file.
Clicking on this link will load the file into the browser and will execute
whatever active content the attacker has written. The unsuspecting victim
would more than likely think that they are viewing a simple image file,
but instead they could be loading a silent JavaScript program.
Proof of Concept:
< img src=http://www.airscanner.com/images/logo.jpg>
< script>alert('Since when do JPEG images run active scripts?')< / script>
(c) Airscanner
Example:
<http://www.airscanner.com/security/images/IE_MIME.jpg>
http://www.airscanner.com/security/images/IE_MIME.jpg
Workaround:
* Disable Javascript support
* Disable image loading
ADDITIONAL INFORMATION
The information has been provided by
<mailto:fulldisclosure@fogieonline.com> Airscanner.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[TOOL] PA168 Web Interface Password Brute Forcer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [REVS] Misunderstanding Javascript Injection: Web Application Abuse via Javascript Injection
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Misunderstanding Javascript
Injection: Web Application Abuse via ... various security oriented mailing lists, there
are issues Tim has not seen ... (Securiteam) - [UNIX] Konqueror DoS via JavaScript Read of FTP iframe
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Konqueror DoS via JavaScript Read
of FTP iframe ... Konqueror crashes if JavaScript code tries to read the source
of a child ... Gentoo and Debian running KDE 3.5.5. ... (Securiteam) - [UNIX] X Server Extensions Memory Corruption Vulnerabilities
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Local exploitation of a
memory corruption vulnerability in the ... "ProcRenderAddGlyphs" function lies within the
Render extension. ... (Securiteam) - [NEWS] Yahoo! Mail Cross-Site Scripting Vulnerability
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Finjan has discovered a script
injection vulnerability in Yahoo! ... Yahoo s mobile code filtering mechanism is
based on an active content ... of the JavaScript protocol and upon identification ...
(Securiteam) - [NEWS] Internet Explorer and Opera JavaScript Ghost Vulnerability
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... A bug in Internet Explorer and
Opera's processing of JavaScript allows ... visible to the user if the user asks for the
source code of the HTML page. ... If the user browser is vulnerable for this vulnerability,
... (Securiteam)