(Conectiva Issues Fix) w3m Text-based Web Browser May Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1002714 |
|
SecurityTracker URL: http://securitytracker.com/id/1002714
|
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Nov 8 2001
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): w3m 0.2.1
|
Description:
Secure Net Service reported a vulnerability in the w3m text-based web browser that allows a remote web site to cause arbitrary code to be executed by the web browser.
The vulnerability is reportedly due to a buffer overflow in the processing of MIME headers. If a remote web site returns a malformed MIME header containing executable instructions to the w3m user, the malformed header could cause the code to be executed by the w3m browser with the privileges of the w3m user.
The vulnerability can reportedly be triggered by a MIME encoded header in base 64 format with more than 34 characters, such as the following header:
MIME header:
=?AAAAAAAAAAAAAA(50 'A' characters in the header)AAAAAAAA?=
A listing of the resulting memory dump and register contents is provided in the Source Message.
|
Impact:
A remote web site could return a malformed MIME header containing code that will be executed by the w3m browser with the privileges of the w3m user.
|
Solution:
The vendor has released a fix:
ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/w3m-0.2.1-4U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.0/i386/w3m-0.2.1-4U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/w3m-0.2.1-4U51_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/w3m-0.2.1-4U51_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/6.0/SRPMS/w3m-0.2.1-4U60_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/6.0/RPMS/w3m-0.2.1-4U60_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/7.0/SRPMS/w3m-0.2.1-4U70_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/w3m-0.2.1-4U70_1cl.src.rpm
Users of Conectiva Linux version 6.0 or higher may use apt to perform upgrades of RPM packages:
- add the following line to /etc/apt/sources.list if it is not there yet
(you may also use linuxconf to do this):
rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates
(replace 6.0 with the correct version number if you are not running CL6.0)
- run: apt-get update
- after that, execute: apt-get upgrade
See the Source Message for the vendor's advisory containing directions on how to apply the appropriate fix.
|
Vendor URL: ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/index.html (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Conectiva)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Thu, 8 Nov 2001 16:53:10 -0200
Subject: [conectiva-updates] [CLA-2001:434] Conectiva Linux Security Announcement - w3m
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------
PACKAGE : w3m
SUMMARY : w3m buffer overflow
DATE : 2001-11-08 16:52:00
ID : CLA-2001:434
RELEVANT
RELEASES : 5.0, 5.1, 6.0, 7.0
- -------------------------------------------------------------------------
DESCRIPTION
w3m is a text based pager with WWW capability.
Ogasawara Satoshi and Kobayashi Shigehiro discovered a
vulnerability[1] in a MIME header parsing routine. A malicious web
server administrator could execute arbitrary code in the client
machine by sending malformed MIME headers inside the server HTTP
responses.
SOLUTION
All w3m users should upgrade.
REFERENCES:
1. http://www.securityfocus.com/bid/2895
DIRECT DOWNLOAD LINKS TO THE UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/w3m-0.2.1-4U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.0/i386/w3m-0.2.1-4U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/w3m-0.2.1-4U51_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/w3m-0.2.1-4U51_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/6.0/SRPMS/w3m-0.2.1-4U60_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/6.0/RPMS/w3m-0.2.1-4U60_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/7.0/SRPMS/w3m-0.2.1-4U70_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/w3m-0.2.1-4U70_1cl.src.rpm
ADDITIONAL INSTRUCTIONS
Users of Conectiva Linux version 6.0 or higher may use apt to perform
upgrades of RPM packages:
- add the following line to /etc/apt/sources.list if it is not there yet
(you may also use linuxconf to do this):
rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates
(replace 6.0 with the correct version number if you are not running CL6.0)
- run: apt-get update
- after that, execute: apt-get upgrade
Detailed instructions reagarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en
- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en
- -------------------------------------------------------------------------
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE76tSV42jd0JmAcZARAp+9AKCZPe5dVe4gG3EQs3wayCOZOXglwACfUNqc
P3J+nGO3e/zbYl/uBd3sqGY=
=Tw2Q
-----END PGP SIGNATURE-----
|
|