Linux Security
Linux Security
Linux Security

Debian: 'mhonarc' XSS Vulnerability

Date 09 Sep 2002
Posted By LinuxSecurity Advisories
When processingmaliciously crafted mails of type text/html, mhonarc, does notdeactivate all scripting parts properly.

Debian Security Advisory DSA 163-1                     This email address is being protected from spambots. You need JavaScript enabled to view it. Martin Schulze
September 9th, 2002            

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 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: dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
Package info: `apt-cache show ' and


LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"43","type":"x","order":"1","pct":84.31,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"4","type":"x","order":"2","pct":7.84,"resources":[]},{"id":"181","title":"Hardly ever","votes":"4","type":"x","order":"3","pct":7.84,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.



bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.