cve-2024-39315
Vulnerability from cvelistv5
Published
2024-07-02 20:02
Modified
2024-08-02 04:19
Severity ?
EPSS score ?
Summary
Pomerium exposed OAuth2 access and ID tokens in user info endpoint response
References
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2024-39315", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-07-22T16:30:03.751217Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-07-22T16:30:27.504Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-02T04:19:20.747Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/pomerium/pomerium/security/advisories/GHSA-rrqr-7w59-637v", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/pomerium/pomerium/security/advisories/GHSA-rrqr-7w59-637v" }, { "name": "https://github.com/pomerium/pomerium/commit/4c7c4320afb2ced70ba19b46de1ac4383f3daa48", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/pomerium/pomerium/commit/4c7c4320afb2ced70ba19b46de1ac4383f3daa48" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "pomerium", "vendor": "pomerium", "versions": [ { "status": "affected", "version": "\u003c 0.26.1" } ] } ], "descriptions": [ { "lang": "en", "value": "Pomerium is an identity and context-aware access proxy. Prior to version 0.26.1, the Pomerium user info page (at `/.pomerium`) unintentionally included serialized OAuth2 access and ID tokens from the logged-in user\u0027s session. These tokens are not intended to be exposed to end users. This issue may be more severe in the presence of a cross-site scripting vulnerability in an upstream application proxied through Pomerium. If an attacker could insert a malicious script onto a web page proxied through Pomerium, that script could access these tokens by making a request to the `/.pomerium` endpoint. Upstream applications that authenticate only the ID token may be vulnerable to user impersonation using a token obtained in this manner. Note that an OAuth2 access token or ID token by itself is not sufficient to hijack a user\u0027s Pomerium session. Upstream applications should not be vulnerable to user impersonation via these tokens provided the application verifies the Pomerium JWT for each request, the connection between Pomerium and the application is secured by mTLS, or the connection between Pomerium and the application is otherwise secured at the network layer. The issue is patched in Pomerium v0.26.1. No known workarounds are available." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.7, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-201", "description": "CWE-201: Insertion of Sensitive Information Into Sent Data", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-07-02T20:02:06.120Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/pomerium/pomerium/security/advisories/GHSA-rrqr-7w59-637v", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/pomerium/pomerium/security/advisories/GHSA-rrqr-7w59-637v" }, { "name": "https://github.com/pomerium/pomerium/commit/4c7c4320afb2ced70ba19b46de1ac4383f3daa48", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/pomerium/pomerium/commit/4c7c4320afb2ced70ba19b46de1ac4383f3daa48" } ], "source": { "advisory": "GHSA-rrqr-7w59-637v", "discovery": "UNKNOWN" }, "title": "Pomerium exposed OAuth2 access and ID tokens in user info endpoint response" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2024-39315", "datePublished": "2024-07-02T20:02:06.120Z", "dateReserved": "2024-06-21T18:15:22.261Z", "dateUpdated": "2024-08-02T04:19:20.747Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-39315\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-07-02T20:15:06.110\",\"lastModified\":\"2024-07-03T12:53:24.977\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Pomerium is an identity and context-aware access proxy. Prior to version 0.26.1, the Pomerium user info page (at `/.pomerium`) unintentionally included serialized OAuth2 access and ID tokens from the logged-in user\u0027s session. These tokens are not intended to be exposed to end users. This issue may be more severe in the presence of a cross-site scripting vulnerability in an upstream application proxied through Pomerium. If an attacker could insert a malicious script onto a web page proxied through Pomerium, that script could access these tokens by making a request to the `/.pomerium` endpoint. Upstream applications that authenticate only the ID token may be vulnerable to user impersonation using a token obtained in this manner. Note that an OAuth2 access token or ID token by itself is not sufficient to hijack a user\u0027s Pomerium session. Upstream applications should not be vulnerable to user impersonation via these tokens provided the application verifies the Pomerium JWT for each request, the connection between Pomerium and the application is secured by mTLS, or the connection between Pomerium and the application is otherwise secured at the network layer. The issue is patched in Pomerium v0.26.1. No known workarounds are available.\"},{\"lang\":\"es\",\"value\":\"Pomerium es un proxy de acceso consciente de la identidad y el contexto. Antes de la versi\u00f3n 0.26.1, la p\u00e1gina de informaci\u00f3n del usuario de Pomerium (en `/.pomerium`) inclu\u00eda involuntariamente tokens de ID y acceso OAuth2 serializados de la sesi\u00f3n del usuario que hab\u00eda iniciado sesi\u00f3n. Estos tokens no est\u00e1n destinados a ser expuestos a los usuarios finales. Este problema puede ser m\u00e1s grave en presencia de una vulnerabilidad de cross-site scripting en una aplicaci\u00f3n ascendente enviada a trav\u00e9s de Pomerium. Si un atacante pudiera insertar un script malicioso en una p\u00e1gina web proxy a trav\u00e9s de Pomerium, ese script podr\u00eda acceder a estos tokens realizando una solicitud al endpoint `/.pomerium`. Las aplicaciones ascendentes que autentican solo el token de ID pueden ser vulnerables a la suplantaci\u00f3n del usuario utilizando un token obtenido de esta manera. Tenga en cuenta que un token de acceso OAuth2 o un token de identificaci\u00f3n por s\u00ed solo no es suficiente para secuestrar la sesi\u00f3n de Pomerium de un usuario. Las aplicaciones ascendentes no deben ser vulnerables a la suplantaci\u00f3n del usuario a trav\u00e9s de estos tokens, siempre que la aplicaci\u00f3n verifique el Pomerium JWT para cada solicitud, la conexi\u00f3n entre Pomerium y la aplicaci\u00f3n est\u00e9 protegida por mTLS, o la conexi\u00f3n entre Pomerium y la aplicaci\u00f3n est\u00e9 asegurada de otro modo en la capa de red. . El problema se solucion\u00f3 en Pomerium v0.26.1. No hay workarounds disponibles.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\",\"baseScore\":5.7,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":2.1,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-201\"}]}],\"references\":[{\"url\":\"https://github.com/pomerium/pomerium/commit/4c7c4320afb2ced70ba19b46de1ac4383f3daa48\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/pomerium/pomerium/security/advisories/GHSA-rrqr-7w59-637v\",\"source\":\"security-advisories@github.com\"}]}}" } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.