(Conectiva Issues Fix) GNU Screen Integer Overflow in 'ansi.c' May Let Local Users Gain Elevated Privileges
|
|
SecurityTracker Alert ID: 1008771 |
|
SecurityTracker URL: http://securitytracker.com/id/1008771
|
|
CVE Reference:
CAN-2003-0972
(Links to External Site)
|
Date: Jan 20 2004
|
Impact:
Execution of arbitrary code via local system, Root access via local system, User access via local system
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 4.0.1, 3.9.15, and prior versions
|
Description:
A vulnerability was reported in GNU Screen. A local user may be able to execute arbitrary code to gain elevated privileges on the target system.
It is reported that a local user can send 2 to 3 gigabytes of data to a target user's screen to trigger a flaw in 'ansi.c'. A large amount of data can reportedly cause the 'w_NumArgs' signed integer to overflow to a negative value, causing a check to ensure that the number of arguments is less than 'MAXARGS' to fail.
The report indicates that screen is typically installed with set user id (setuid) root user privileges of set group id (setgid) utmp group privileges.
The vendor has reportedly been notified.
|
Impact:
A local user can execute arbitrary code with the privileges of GNU screen (which may be root user privileges or utmp group privileges, depending on the installation).
|
Solution:
Conectiva has released a fix.
ftp://atualizacoes.conectiva.com.br/8/SRPMS/screen-3.9.10-2U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/screen-3.9.10-2U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/screen-3.9.13-24126U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/screen-3.9.13-24126U90_1cl.i386.rpm
|
Vendor URL: www.gnu.org/software/screen/screen.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: Tue, 20 Jan 2004 08:53:42 -0200
Subject: [conectiva-updates] [CLA-2004:809] Conectiva Security Announcement - screen
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------
PACKAGE : screen
SUMMARY : Fix for screen vulnerability
DATE : 2004-01-20 08:53:00
ID : CLA-2004:809
RELEVANT
RELEASES : 8, 9
- -------------------------------------------------------------------------
DESCRIPTION
Screen[1] is a program which allows the use of several sessions
inside a single terminal.
Timo Sirainen reported[2] a buffer overflow vulnerability[3] in the
screen package which could be exploited by an attacker who is able to
send about 2Gb of data to the user's screen session.
Additionally, a fix for a potential problem with window sizes has
been incorporated in these updated packages.
Please note that screen is not installed setuid/setgid.
SOLUTION
It is recommended that all screen users upgrade their packages.
REFERENCES
1. http://www.gnu.org/software/screen/
2. http://marc.theaimsgroup.com/?l=bugtraq&m=106995837813873&w=2
3. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0972
UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/8/SRPMS/screen-3.9.10-2U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/screen-3.9.10-2U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/screen-3.9.13-24126U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/screen-3.9.13-24126U90_1cl.i386.rpm
ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:
- 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
- -------------------------------------------------------------------------
Copyright (c) 2004 Conectiva Inc.
http://www.conectiva.com
- -------------------------------------------------------------------------
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
iD8DBQFADQi142jd0JmAcZARAkUPAKCBlgb3eJMPGUJd2jVNnym5yGR6PwCZAWQm
O9oKN+dLAyr3JbRv9nWjY/0=
=6Dq8
-----END PGP SIGNATURE-----
|
|