Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
UPnPHostFileRead — Arbitrary file read exploit for the Windows UPnP Device Host service. | Kitploit
Tools/GitHubGitHub/spaceplant/upnphostfileread
Privilege EscalationVulnerability AnalysisExploitationLateral MovementBinary Exploitation
GitHubspaceplant/upnphostfileread

UPnPHostFileRead

Arbitrary file read exploit for the Windows UPnP Device Host service.

View Repository
2042 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Description

Local arbitrary file read PoC exploit for the Windows UPnP Device Host service. Reads an arbitrary file in the context of LOCAL SERVICE. Tested against Windows 11 Pro build 26200.8457.

Reported to Microsoft. Assessed as "not a vulnerability".

How to Build

  1. Clone the repository.
  2. Build the UPnPHostFileRead solution.

How to Use

  • Run UPnPHostFileRead.exe SOURCE DESTINATION.

The SOURCE file will be read in the context of LOCAL SERVICE and will then be written to DESTINATION in the context of the current user.

Screenshot Screenshot

Technical Details

Normal users can create an instance of the UPnPRegistrar COM object and call the RegisterRunningDevice method, which will register a device with a device description XML. This XML can reference an icon, but the reference is vulnerable to path traversal and can be pointed to any file on the system. After registering the device, the referenced file is then exposed by an HTTP service running as LOCAL SERVICE and anyone can access the endpoint and download the file.

Download Tool