CVE-2022-33011: Known vulnerable to account takeover via host header injection attack in v1.3.1
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.37823%
CWE
Published
7/9/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| idno/known | composer | <= 1.3.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of host headers in URL construction. The detectBaseURL() function uses $_SERVER['SERVER_NAME'] which can be controlled by attackers in certain server configurations. This allows poisoning password reset URLs through manipulated host headers, enabling account takeover. The function's TODO comment ('but don't use HTTP_HOST') indicates awareness of header injection risks but insufficient protection. The blog analysis explicitly identifies this function as the injection point, and the CWE-74 classification matches the injection pattern through unvalidated host header usage.