CVE-2016-7191: Authentication Bypass in passport-azure-ad
8.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.92877%
CWE
Published
7/26/2018
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
passport-azure-ad | npm | >= 1.0.0, < 1.4.6 | 1.4.6 |
passport-azure-ad | npm | = 2.0.0 | 2.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper issuer validation in JWT processing. Both the validateIssuer
configuration enforcement and the core verify()
function were flawed: 1) The validateIssuer
setting was not respected at the configuration level, and 2) The verification logic in the OIDC strategy's core function failed to implement issuer checks when this setting was enabled. This matches the described attack pattern where crafted tokens bypass authentication through improper issuer validation, and aligns with Microsoft's security notice about missing issuer validation when using common endpoints.