Access Restriction Bypass Affecting kreait/firebase-php package, versions >=3.2.0, <3.8.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-KREAITFIREBASEPHP-72122
  • published16 Apr 2018
  • disclosed16 Jan 2018
  • creditUnknown

Introduced: 16 Jan 2018

CVE-2018-1000025  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade kreait/firebase-php to version 3.8.1 or higher.

Overview

kreait/firebase-php is a Firebase Admin SDK.

Affected versions of this package are vulnerable to Access Restriction Bypass in the src/Firebase/Auth/IdTokenVerifier.php method. It does not verify for token signature and can result in JWT with any email address and user ID could be forged from an actual token, or from thin air.

CVSS Scores

version 3.1