Users login

Create an account »


Users login

Home » Hacking News » DSA 163-1-mhonarc

DSA 163-1-mhonarc

by Nikola Strahija on September 9th, 2002 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 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:


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;
text/x-html; m2h_text_plain::filter;

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 stable/updates main
For dpkg-ftp:
Mailing list: [email protected]
Package info: `apt-cache show ' and

Version: GnuPG v1.0.7 (GNU/Linux)


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »