PostHog slack_incoming_webhook Server-Side Request Forgery Information Disclosure Vulnerability
The slack_incoming_webhook parameter was processed without proper validation of the URI before resources were accessed, allowing an authenticated attacker to make the server fetch attacker-chosen destinations. The advisory states this could disclose sensitive information and, it claims, allow code execution in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PostHog. Authentication is 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 application fetched the user-supplied webhook URL without validating or restricting the destination, permitting requests to internal or unintended resources.
Impact
An authenticated attacker could disclose sensitive information and, per the advisory, potentially execute code in the context of the service account.
What the attacker needed
Authentication to PostHog; ability to set the webhook parameter
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 webhook is a URL the application calls on your behalf, for example to post a message into a chat channel. Here the application accepted a web address from a user and fetched it without checking where it pointed, so a user could make the server visit internal or sensitive locations. That kind of flaw is called server-side request forgery, because the server is tricked into making the request.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.