CVE-1999-1120 : Detail

CVE-1999-1120

0.04%V3
Local
2002-03-09
04h00 +00:00
2024-08-01
17h02 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

netprint in SGI IRIX 6.4 and earlier trusts the PATH environmental variable for finding and executing the disable program, which allows local users to gain privileges.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P [email protected]

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 : 19313

Publication date : 1997-01-03 23h00 +00:00
Author : Yuri Volobuev
EDB Verified : Yes

source: https://www.securityfocus.com/bid/395/info A vulnerability exists in the netprint program, shipping with Irix 6.x and 5.x by Silicon Graphics. The netprint program calls the "disable" command via a system() call, without specifying an explicit path. Therefore, any program in the path named disable can be executed as user lp. % cat > /tmp/disable cp /bin/sh /tmp/lpshell chmod 4755 /tmp/lpshell ^D % set path=(. $path) % netprint -n blah -h blah -p blah 1-234 % /tmp/lpshell However, one can go further if BSD printing subsystem is installed. /usr/spool/lpd is owned by lp, and it's the place where lpd writes lock file. lpd is also root/suid. So one replaces /usr/spool/lpd/lpd.lock with a symlink to /etc/passwd and runs lpd, passwd gets nuked. Then one repeats netprint trick, and, voila, disable now runs as root, because lp is not found in passwd. Kinda neat.

Products Mentioned

Configuraton 0

Sgi>>Irix >> Version To (including) 6.4

Sgi>>Irix >> Version 5.3

Sgi>>Irix >> Version 6.0

Sgi>>Irix >> Version 6.0.1

Sgi>>Irix >> Version 6.1

Sgi>>Irix >> Version 6.2

Sgi>>Irix >> Version 6.3

References

http://marc.info/?l=bugtraq&m=87602167420403&w=2
Tags : mailing-list, x_refsource_BUGTRAQ
http://www.osvdb.org/993
Tags : vdb-entry, x_refsource_OSVDB
http://www.securityfocus.com/bid/395
Tags : vdb-entry, x_refsource_BID