PT-2018-10645

CVE-2018-11537

·

Published

2018-06-19

·

Updated

2022-05-14

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions angular-jwt versions prior to 0.1.10
Description The issue allows remote attackers with knowledge of the jwtInterceptorProvider.whiteListedDomains setting to bypass the domain allowlist filter via a crafted domain. This is because the whiteListedDomains entries are treated as regular expressions. 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 wildcard which matches any character.
Recommendations For versions prior to 0.1.10, update to version 0.1.10 or later to resolve the issue. As a temporary workaround, consider manually validating domains against the allowlist to prevent bypassing the filter. Restrict access to the jwtInterceptorProvider.whiteListedDomains setting to minimize the risk of exploitation. Avoid using the whiteListedDomains setting with untrusted input until the issue is resolved.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-VM2P-F5J4-MJ6G
Found an issue in the description? Have something to add? Feel free to write us 👾