GHSA-4gjj-r7w8-42cq

Suggest an improvement
Source
https://github.com/advisories/GHSA-4gjj-r7w8-42cq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4gjj-r7w8-42cq/GHSA-4gjj-r7w8-42cq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4gjj-r7w8-42cq
Aliases
Published
2022-05-13T01:48:29Z
Modified
2024-04-24T18:57:22.165952Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Jerome Gamez Firebase Admin SDK for PHP Incorrect Access Control vulnerability
Details

Jerome Gamez Firebase Admin SDK for PHP version from 3.2.0 to 3.8.0 contains a Incorrect Access Control vulnerability in src/Firebase/Auth/IdTokenVerifier.php does not verify for token signature that can result in JWT with any email address and user ID could be forged from an actual token, or from thin air. This attack appear to be exploitable via Attacker would only need to know email address of the victim on most cases.. This vulnerability appears to have been fixed in 3.8.1.

Database specific
{
    "nvd_published_at": "2018-02-09T23:29:00Z",
    "cwe_ids": [
        "CWE-732"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T18:31:01Z"
}
References

Affected packages

Packagist / kreait/firebase-php

Package

Name
kreait/firebase-php
Purl
pkg:composer/kreait/firebase-php

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2.0
Fixed
3.8.1

Affected versions

3.*

3.2.0
3.2.1
3.3.0
3.3.1
3.3.2
3.3.3
3.4.0
3.4.1
3.4.2
3.5.0
3.6.0
3.7.0
3.7.1
3.8.0