CVE-2022-34026: ICEcoder vulnerable to Path Traversal
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65894%
CWE
Published
9/23/2022
Updated
1/27/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:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| icecoder/icecoder | composer | <= 8.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from three chained functions:
- getConfigUsersFileDetails() builds a path using unsanitized $_POST['username'] combined with SERVER_NAME
- getConfigUsersSettings() accepts this untrusted path
- serializedFileData() performs unsafe file_get_contents() on the path This allows attackers to inject '../' sequences in the username parameter to read arbitrary files like '../../../../etc/passwd'. The user-controlled input flows directly into file operations without normalization or validation, characteristic of CWE-22 path traversal vulnerabilities.