Description
Auth0-PHP is a PHP SDK for Auth0 Authentication and Management APIs. In applications built with the Auth0-PHP SDK, the audience validation in access tokens is performed improperly. Without proper validation, affected applications may accept ID tokens as Access tokens. Projects are affected if they use Auth0-PHP SDK versions between v8.0.0 and v8.17.0, or applications using the following SDKs that rely on the Auth0-PHP SDK versions between v8.0.0 and v8.17.0: Auth0/symfony versions between 5.0.0 and 5.5.0, Auth0/laravel-auth0 versions between 7.0.0 and 7.19.0, and/or Auth0/wordpress plugin versions between 5.0.0-BETA0 and 5.4.0. Auth0/Auth0-PHP version 8.18.0 contains a patch for the issue.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected products
- auth0 / auth0-PHP>= 8.0.0, < 8.18.0 – >= 8.0.0, < 8.18.0
References
- VENDOR_ADVISORYhttps://github.com/auth0/auth0-PHP/security/advisories/GHSA-j2vm-wrq3-f7gf
- VENDOR_ADVISORYhttps://github.com/auth0/laravel-auth0/security/advisories/GHSA-7hh9-gp72-wh7h
- VENDOR_ADVISORYhttps://github.com/auth0/symfony/security/advisories/GHSA-f3r2-88mq-9v4g
- VENDOR_ADVISORYhttps://github.com/auth0/wordpress/security/advisories/GHSA-vvg7-8rmq-92g7
- PATCHhttps://github.com/auth0/auth0-PHP/commit/7fe700053aee609718460c123f00f53c511f0f7f
- PATCHhttps://github.com/auth0/laravel-auth0/commit/a1c3344dc0e5a36e8f56c8cfc535728d3d7558f3
- PATCHhttps://github.com/auth0/symfony/commit/0103d6f8dcef6996653fad1f823d1c167f472479
- PATCHhttps://github.com/auth0/wordpress/commit/b207c6f7fd06507b90c4e6bcc18a857ef9e018de
- PATCHhttps://github.com/auth0/auth0-PHP/releases/tag/8.18.0
- PATCHhttps://github.com/auth0/laravel-auth0/releases/tag/7.20.0
- PATCHhttps://github.com/auth0/symfony/releases/tag/5.6.0
- PATCHhttps://github.com/auth0/wordpress/releases/tag/5.5.0