PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability
The database_schema method in PostHog did not properly validate a URI before accessing resources, allowing an authenticated attacker to perform server-side request forgery and disclose sensitive information. The text also claims the attacker could execute code 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
Impact
An authenticated attacker could disclose sensitive information and potentially execute code in the context of the service account.
What the attacker needed
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.
This is a server-side request forgery (SSRF) bug. The application takes a web address from the user and fetches it without checking where it points, so an attacker can make the server read internal resources. The attacker needs to be logged in first.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.