CVE-2022-38916: Pagekit vulnerable to Unrestricted Upload of File with Dangerous Type
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.90619%
CWE
Published
9/21/2022
Updated
1/31/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| pagekit/pagekit | composer | <= 1.0.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description and GitHub issue indicate improper file type validation in the storage feature. The attack pattern (modifying filenames via Burp Suite) suggests missing server-side validation after client-side restrictions. Pagekit's architecture would handle uploads through its Filesystem component and StorageController. These components would be responsible for file validation and storage operations, making them prime candidates for the vulnerability. The high confidence comes from the attack vector matching typical unrestricted upload vulnerabilities in PHP frameworks and the explicit mention of storage feature involvement.