--------------------------------------------------------------------------
Debian Security Advisory DSA 163-1                     security@debian.org 
Debian -- Security Information  Martin Schulze
September 9th, 2002                      Debian -- Debian security FAQ 
--------------------------------------------------------------------------

Package        : mhonarc
Vulnerability  : cross site scripting
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2002-0738
BugTraq ID     : 4546
Upstream URL   :   

Jason Molenda and Hiromitsu Takagi found ways to exploit cross site
scripting bugs in mhonarc, a mail to HTML converter.  When processing
maliciously crafted mails of type text/html, mhonarc, does not
deactivate all scripting parts properly.  This is fixed in upstream
version 2.5.3.

If you are worried about security, it is recommended that you disable
support of text/html messages in your mail archives.  There is no
guarantee that the mhtxthtml.pl library is robust enough to eliminate
all possible exploits that can occur with HTML data.

To exclude HTML data, you can use the MIMEEXCS resource.  For example:

    
text/html
    text/x-html
    

The use of "text/x-html" is probably not used any more, but is good to
include it, just-in-case.

If you are concerend that this could block out the entire contents of
some messages, then you could do the following instead:

    
text/html; m2h_text_plain::filter; mhtxtplain.pl
    text/x-html; m2h_text_plain::filter; mhtxtplain.pl
    

This treats the HTML as text/plain.

The above problems have been fixed in version 2.5.2-1.1 for the
current stable stable distribution (woody), in version 2.4.4-1.1 for
the old stable distribution (potato) and in version 2.5.11-1 for the
unstable distribution (sid).

We recommend that you upgrade your mhonarc packages.

wget url
	will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 2.2 alias potato
--------------------------------

  Source archives:

      
Size/MD5 checksum:      538 53ba6d2d674e257704316f2d79c78f2b
      
Size/MD5 checksum:     5951 09a4eb1ab17adda2063eb6cc8bbccf67
      
Size/MD5 checksum:   451692 17bfacfc31d185f472695b0fac5d23b9

  Architecture independent components:

      
Size/MD5 checksum:   453130 04d3a566858fab841acd7ece5d8ae127


Debian GNU/Linux 3.0 alias woody
--------------------------------

  Source archives:

      
Size/MD5 checksum:      560 eb4744e14f378e2c64b5dfd10b675808
      
Size/MD5 checksum:     4070 c83dc0b1e42beac644a56632b54d26e6
      
Size/MD5 checksum:   600942 5151b61a4dc2bd18214e9a8d47ec41df

  Architecture independent components:

      
Size/MD5 checksum:   572816 6696856ba903ea8a882cfcc48b29dec9


  These files will probably be moved into the stable distribution on
  its next revision.

---------------------------------------------------------------------------------
For apt-get: deb  Debian -- Security Information  stable/updates main
For dpkg-ftp:    dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/




Debian: 'mhonarc' XSS Vulnerability

September 9, 2002
When processingmaliciously crafted mails of type text/html, mhonarc, does notdeactivate all scripting parts properly.

Summary

Jason Molenda and Hiromitsu Takagi found ways to exploit cross site
scripting bugs in mhonarc, a mail to HTML converter. When processing
maliciously crafted mails of type text/html, mhonarc, does not
deactivate all scripting parts properly. This is fixed in upstream
version 2.5.3.

If you are worried about security, it is recommended that you disable
support of text/html messages in your mail archives. There is no
guarantee that the mhtxthtml.pl library is robust enough to eliminate
all possible exploits that can occur with HTML data.

To exclude HTML data, you can use the MIMEEXCS resource. For example:


text/html
text/x-html


The use of "text/x-html" is probably not used any more, but is good to
include it, just-in-case.

If you are concerend that this could block out the entire contents of
some messages, then you could do the following instead:


text/html; m2h_text_plain::filter; mhtxtplain.pl
text/x-html; m2h_text_plain::filter; mhtxtplain.pl


This treats the HTML as text/plain.

The above problems have been fixed in version 2.5.2-1.1 for the
current stable stable distribution (woody), in version 2.4.4-1.1 for
the old stable distribution (potato) and in version 2.5.11-1 for the
unstable distribution (sid).

We recommend that you upgrade your mhonarc packages.

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 2.2 alias potato
--------------------------------

Source archives:


Size/MD5 checksum: 538 53ba6d2d674e257704316f2d79c78f2b

Size/MD5 checksum: 5951 09a4eb1ab17adda2063eb6cc8bbccf67

Size/MD5 checksum: 451692 17bfacfc31d185f472695b0fac5d23b9

Architecture independent components:


Size/MD5 checksum: 453130 04d3a566858fab841acd7ece5d8ae127


Debian GNU/Linux 3.0 alias woody
--------------------------------

Source archives:


Size/MD5 checksum: 560 eb4744e14f378e2c64b5dfd10b675808

Size/MD5 checksum: 4070 c83dc0b1e42beac644a56632b54d26e6

Size/MD5 checksum: 600942 5151b61a4dc2bd18214e9a8d47ec41df

Architecture independent components:


Size/MD5 checksum: 572816 6696856ba903ea8a882cfcc48b29dec9


These files will probably be moved into the stable distribution on
its next revision.

Severity
Package : mhonarc
Vulnerability : cross site scripting
Problem-Type : remote
Debian-specific: no
CVE Id : CAN-2002-0738
BugTraq ID : 4546
Upstream URL :

Related News