Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Microsoft Windows XP/2003 - ReadDirectoryChangesW Information Disclosure EDB-29630 · local · Feb 22, 2007 · verified
GitHub 1 repository
-
z3APA3A/spydir ★ 9 · Nov 27, 2014
Spydir is a small utility to monitor file changes in Windows directory regardless of subdirectory and files permissions (exploits CVE-2007-0843)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 22664 vdb-entry
- http://securityvulns.com/advisories/readdirectorychanges.asp
- 20070222 Microsoft Windows 2000/XP/2003/Vista ReadDirectoryChangesW informaton leak mailing-list
- 24245 third-party-advisory
- 20070222 Microsoft Windows 2000/XP/2003/Vista ReadDirectoryChangesW informaton leak mailing-list
- ADV-2007-0701 vdb-entry
- 33474 vdb-entry
- win-readdirectory-information-disclosure(32644) vdb-entry
- 20070222 Re[2]: [Full-disclosure] Microsoft Windows 2000/XP/2003/Vista ReadDirectoryChangesW informaton leak mailing-list
- 2282 third-party-advisory
- http://packetstormsecurity.com/files/163755/Microsoft-Windows-Malicious-Software-Removal-Tool-Privilege-Escalation.html