[NEWS] Multi-Vendor AntiVirus Gateway Image Inspection Bypass (data:)
From: SecuriTeam (support_at_securiteam.com)
Date: 01/11/05
- Previous message: SecuriTeam: "[NT] Microsoft Windows Improper Token Validation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 11 Jan 2005 13:06:27 +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
- - - - - - - - -
Multi-Vendor AntiVirus Gateway Image Inspection Bypass (data:)
------------------------------------------------------------------------
SUMMARY
A vulnerability has been discovered which allows a remote attacker to
bypass anti-virus (as well other security technologies such as IDS and
IPS) inspection of HTTP image content. By leveraging techniques described
in RFC 2397 for base64 encoding image content within the URL scheme. A
remote attacker may encode a malicious image within the body of an HTML
formatted document to circumvent content inspection.
DETAILS
The source code at the URL
<http://www.securiteam.com/exploits/5EP0M0KE0W.html>
http://www.securiteam.com/exploits/5EP0M0KE0W.html will by default create
a JPEG image that will attempt (and fail without tweaking) to exploit the
Microsoft MS04-028 GDI+ vulnerability. The image itself is detected by all
AV gateway engines tested (Trend, Sophos and McAfee), however, when the
same image is base64 encoded using the technique described in RFC 2397
(documented below), inspectionis not performed and is delivered rendered
by the client.
While Microsoft Internet Explorer does not support the RFC 2397 URL
scheme; Firefox, Safari, Mozilla and Opera do and will render the data and
thus successfully execute the payload if the necessary OS and/or
application patches have not been applied.
Exploit:
< html>
< body>
< img
src="data:image/gif;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//
gAARXhpZgAASUkqAAgAHPD9f0FBQUGWAgAAGgAAABzw
/X9BQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQ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has been provided by <mailto:dbounds@intrusense.com>
Darren Bounds.
========================================
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: "[NT] Microsoft Windows Improper Token Validation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- Multi-vendor AV gateway image inspection bypass vulnerability
... Multi-vendor AV gateway image inspection bypass vulnerability ... A vulnerability
has been discovered which allows a remote attacker to ... the body of an HTML ...
QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB ... (Bugtraq) - [Full-Disclosure] Multi-vendor AV gateway image inspection bypass vulnerability
... Multi-vendor AV gateway image inspection bypass vulnerability ... A vulnerability
has been discovered which allows a remote attacker to ... body of an HTML ... QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
... (Full-Disclosure) - Re: [Full-Disclosure] Multi-vendor AV gateway image inspection bypass vulnerability
... > Multi-vendor AV gateway image inspection bypass vulnerability ... >
A vulnerability has been discovered which allows a remote attacker to ... > by all AV
gateway engines tested, however, ... > QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
... (Bugtraq) - Re: [Full-Disclosure] Multi-vendor AV gateway image inspection bypass vulnerability
... > Multi-vendor AV gateway image inspection bypass vulnerability ... >
A vulnerability has been discovered which allows a remote attacker to ... > by all AV
gateway engines tested, however, ... > QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
... (Full-Disclosure) - Re: [Full-Disclosure] Multi-vendor AV gateway image inspection bypass vulnerability
... > Multi-vendor AV gateway image inspection bypass vulnerability ... >
A vulnerability has been discovered which allows a remote attacker to ... > by all AV
gateway engines tested, however, ... > QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
... (Full-Disclosure)