CVE-2023-46746 Authenticated PostHog users vulnerable to SSRF

Medium 4.8 Published Updated

Authenticated users can exploit a Server-Side Request Forgery vulnerability in PostHog webhooks to forge POST requests to internal resources.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-46746?

CVE-2023-46746 is a medium-severity server-side request forgery vulnerability in posthog, published on 1 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host. A server-side request forgery (SSRF), which can only be exploited by authenticated users, was found in Posthog. Posthog did not verify whether a URL was local when enabling webhooks, allowing authenticated users to forge a POST request. This vulnerability has been addressed in `22bd5942` and will be included in subsequent releases. There are no known workarounds for this vulnerability.

Weakness: CWE-918

Which versions are affected by CVE-2023-46746?

It affects 1 product.

Products include Posthog Posthog.

How do I fix CVE-2023-46746?

No fix has been published for CVE-2023-46746 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2023-46746 being exploited?

There is no known exploitation of CVE-2023-46746 in the wild and no public exploit code.

Sources

Also known as GHSA-wqqw-r8c5-j67c.

Is CVE-2023-46746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free