ghsa-g2r4-phv7-5fgv
Vulnerability from github
Published
2024-12-13 06:30
Modified
2024-12-13 20:37
Severity ?
7.5 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
Browsershot Local File Inclusion
Details
Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method. An attacker can exploit this vulnerability by using leading whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker to read sensitive files on the server.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "spatie/browsershot" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.0.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-21544" ], "database_specific": { "cwe_ids": [ "CWE-20" ], "github_reviewed": true, "github_reviewed_at": "2024-12-13T20:37:35Z", "nvd_published_at": "2024-12-13T05:15:07Z", "severity": "HIGH" }, "details": "Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method.\nAn attacker can exploit this vulnerability by using leading whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker to read sensitive files on the server.", "id": "GHSA-g2r4-phv7-5fgv", "modified": "2024-12-13T20:37:35Z", "published": "2024-12-13T06:30:58Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21544" }, { "type": "WEB", "url": "https://github.com/spatie/browsershot/commit/fae8396641b961f62bd756920b14f01a4391296e" }, { "type": "PACKAGE", "url": "https://github.com/spatie/browsershot" }, { "type": "WEB", "url": "https://github.com/spatie/browsershot/blob/1e212b596c104138550ed4ef1b9977d8df570c67/src/Browsershot.php%23L258-L269" }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496745" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Browsershot Local File Inclusion" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.