GHSA-vm2p-f5j4-mj6g

    Dashboard / Vulnerabilities / GHSA-vm2p-f5j4-mj6g

    GHSA-vm2p-f5j4-mj6g

    Published: 14 May 2022Last Modified: 8 Nov 2023

    Summary: Auth0 angular-jwt misinterprets allowlist as regex

    Details: Auth0 angular-jwt before 0.1.10 treats whiteListedDomains entries as regular expressions, which allows remote attackers with knowledge of the `jwtInterceptorProvider.whiteListedDomains` setting to bypass the domain allowlist filter via a crafted domain. For example, if the setting is initialized with: `jwtInterceptorProvider.whiteListedDomains = ['whitelisted.Example.com'];` An attacker can set up a domain `whitelistedXexample.com` that will pass the allow list filter, as it considers the `.` separator to be a regex whildcard which matches any character.

    Affected packages

    Package

    Name: angular-jwt

    Purl: pkg:npm/angular-jwt

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.1.10

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High