CVE-2025-27370
OpenID Connect Core through errata set 2 Audience Injection Vulnerability
Description
OpenID Connect Core through 1.0 errata set 2 allows audience injection in certain situations. When the private_key_jwt authentication mechanism is used, a malicious Authorization Server could trick a Client into writing attacker-controlled values into the audience, including token endpoints or issuer identifiers of other Authorization Servers. The malicious Authorization Server could then use these private key JWTs to impersonate the Client.
INFO
Published Date :
March 3, 2025, 6:15 p.m.
Last Modified :
April 25, 2025, 3:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Validate audience claims in tokens received.
 - Ensure proper configuration of authentication mechanisms.
 - Update OpenID Connect libraries to the latest secure version.
 - Implement robust cryptographic key management.
 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-27370.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-27370 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-27370
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-27370 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2025-27370 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by [email protected]
Apr. 25, 2025
Action Type Old Value New Value Added Reference https://eprint.iacr.org/2025/629  - 
                            
CVE Modified by [email protected]
Mar. 07, 2025
Action Type Old Value New Value Added Reference https://github.com/OWASP/ASVS/issues/2678  - 
                            
CVE Modified by [email protected]
Mar. 03, 2025
Action Type Old Value New Value Added CWE CWE-305 Removed CWE CWE-863  - 
                            
New CVE Received by [email protected]
Mar. 03, 2025
Action Type Old Value New Value Added Description OpenID Connect Core through 1.0 errata set 2 allows audience injection in certain situations. When the private_key_jwt authentication mechanism is used, a malicious Authorization Server could trick a Client into writing attacker-controlled values into the audience, including token endpoints or issuer identifiers of other Authorization Servers. The malicious Authorization Server could then use these private key JWTs to impersonate the Client. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N Added CWE CWE-863 Added Reference https://openid.net/notice-of-a-security-vulnerability/ Added Reference https://openid.net/wp-content/uploads/2025/01/OIDF-Responsible-Disclosure-Notice-on-Security-Vulnerability-for-private_key_jwt.pdf Added Reference https://talks.secworkshop.events/osw2025/talk/R8D9BS/