CVE-2024-47616 Pomerium's service account access token may grant unintended access to databroker API
Attackers with valid service account tokens can bypass databroker API authorization to exfiltrate user data or modify Pomerium settings.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47616?
CVE-2024-47616 is a medium-severity authentication bypass vulnerability in pomerium, published on 2 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Pomerium is an identity and context-aware access proxy. The Pomerium databroker service is responsible for managing all persistent Pomerium application state. Requests to the databroker service API are authorized by the presence of a JSON Web Token (JWT) signed by a key known by all Pomerium services in the same deployment. However, incomplete validation of this JWT meant that some service account access tokens would incorrectly be treated as valid for the purpose of databroker API authorization. Improper access to the databroker API could allow exfiltration of user info, spoofing of user sessions, or tampering with Pomerium routes, policies, and other settings. A Pomerium deployment is susceptible to this issue if all of the following conditions are met, you have issued a service account access token using Pomerium Zero or Pomerium Enterprise, the access token has an explicit expiration date in the future, and the core Pomerium databroker gRPC API is not otherwise secured by network access controls. This vulnerability is fixed in 0.27.1.
Weakness: CWE-863
Which versions are affected by CVE-2024-47616?
3 open source packages ship an affected version, including github.com/pomerium/pomerium.
| Package | Affected | Fixed in |
|---|---|---|
github.com/pomerium/pomerium Go | All versions | 0.27.1 |
github.com/pomerium/pomerium Go | All versions | 0.27.1 |
github.com/pomerium/pomerium Go | All versions | 0.27.1 |
How do I fix CVE-2024-47616?
Upgrade github.com/pomerium/pomerium to 0.27.1 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-47616 being exploited?
There is no known exploitation of CVE-2024-47616 in the wild and no public exploit code.
Sources
Also known as GHSA-r7rh-jww5-5fjr, GO-2024-3179.