(Pwn2Own) Home Assistant Green Simple Service Discovery Protocol Server-Side Request Forgery Vulnerability
The SSDP server in Home Assistant Green does not properly validate a URI before making server-side requests, allowing network-adjacent attackers to trigger arbitrary requests without authentication. This can be chained with other flaws to execute code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to initiate arbitrary server-side requests on affected installations of Home Assistant Green. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the SSDP header handling code passes a user-supplied URI to an outbound request without validating or restricting the destination.
Impact
A network-adjacent, unauthenticated attacker could make the device issue arbitrary server-side requests and, by chaining other vulnerabilities, could execute code as root.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vendor issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A server-side request forgery (SSRF) is when a server is tricked into making a request to a destination the attacker chooses, instead of only the places it should talk to. Here, the Home Assistant device's discovery service accepts a web address from the network without checking it, so an attacker on the same network can make the device contact arbitrary systems. The report says this can be combined with other bugs to run code on the device.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.