CVE-2017-1000016: phpMyAdmin Cookie attribute injection attack
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72368%
CWE
Published
5/17/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
phpmyadmin/phpmyadmin | composer | >= 4.6, < 4.6.6 | 4.6.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input validation in path handling. The commit 3b6ed1f modifies PMA_cleanupPathInfo to add query string handling and path normalization, addressing an incomplete fix from PMASA-2016-18. The original implementation failed to properly sanitize PHP_SELF by not stripping query parameters before processing PATH_INFO and not resolving '..'/. path components, enabling attackers to inject cookie attributes via manipulated URLs. The CWE-20 classification and patch context confirm input validation flaws in this function.