-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

            ESB-2002.494 -- Debian Security Advisory DSA 163-1
          New mhonarc packages fix cross site scripting problems
                             10 September 2002

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                mhonarc
Vendor:                 Debian
Operating System:       Debian GNU/Linux 2.2 alias potato
                        Debian GNU/Linux 3.0 alias woody
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 163-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
September 9th, 2002                     http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : mhonarc
Vulnerability  : cross site scripting
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2002-0738
BugTraq ID     : 4546
Upstream URL   : http://online.securityfocus.com/archive/1/268455

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:

    <MIMEExcs>
    text/html
    text/x-html
    </MIMEExcs>

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:

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

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:

    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.4.4-1.1.dsc
      Size/MD5 checksum:      538 53ba6d2d674e257704316f2d79c78f2b
    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.4.4-1.1.diff.gz
      Size/MD5 checksum:     5951 09a4eb1ab17adda2063eb6cc8bbccf67
    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.4.4.orig.tar.gz
      Size/MD5 checksum:   451692 17bfacfc31d185f472695b0fac5d23b9

  Architecture independent components:

    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.4.4-1.1_all.deb
      Size/MD5 checksum:   453130 04d3a566858fab841acd7ece5d8ae127


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

  Source archives:

    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.5.2-1.1.dsc
      Size/MD5 checksum:      560 eb4744e14f378e2c64b5dfd10b675808
    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.5.2-1.1.diff.gz
      Size/MD5 checksum:     4070 c83dc0b1e42beac644a56632b54d26e6
    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.5.2.orig.tar.gz
      Size/MD5 checksum:   600942 5151b61a4dc2bd18214e9a8d47ec41df

  Architecture independent components:

    http://security.debian.org/pool/updates/main/m/mhonarc/mhonarc_2.5.2-1.1_all.deb
      Size/MD5 checksum:   572816 6696856ba903ea8a882cfcc48b29dec9


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

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

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9fNTIW5ql+IAeqTIRArGqAJ0dcf9y6EYdVlTJDe5Nm9M1cO/a8QCeI+6y
LFVJxZ4Rtz4AKeJp2KTRCoE=
=1Qrb
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPX4Jpih9+71yA2DNAQG1lgP/dpNOc46X+7ARLoqPXf8UXl08LSeCcJTx
VIkJy9HRymxtnUmXRm5r8ELviR78U8fYVoA9ewIoV/IJc3TTZFLs5TmjUTf/403W
lwKVcvMo8OOe8s3oUw33f1mY4WWByShtfPemNtolcdw5yJ8FDvzY7Ckw6+UhkPxn
xkk0vBwyS3w=
=iwQe
-----END PGP SIGNATURE-----