Miggo Logo

CVE-2024-23648:
Host header injection in the password reset

8.8

CVSS Score
3.1

Basic Information

EPSS Score
0.01618%
Published
1/24/2024
Updated
1/24/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
pimcore/admin-ui-classic-bundlecomposer< 1.2.31.2.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability manifests in the lostpasswordAction method where reset URLs were constructed using the request's Host header. The commit diff shows the fix: 1) Added SystemSettingsConfig to get a validated domain, 2) Modified router context to enforce this domain, and 3) Removed direct dependency on client-supplied Host header. The pre-patch code used $this->generateUrl() with absolute URLs without host validation, making it susceptible to Host header injection. The function's parameters and URL generation logic directly match the described attack vector.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Summ*ry T** p*sswor* r*s*t *un*tion*lity s*n*s to t** t** us*r r*qu*stin* * p*sswor* ***n** *n *m*il *ont*inin* *n URL to r*s*t its p*sswor*. T** URL s*nt *ont*ins * uniqu* tok*n, v*li* *urin* ** *ours, *llowin* t** us*r to r*s*t its p*sswor*.

Reasoning

T** vuln*r**ility m*ni**sts in t** lostp*sswor***tion m*t*o* w**r* r*s*t URLs w*r* *onstru*t** usin* t** r*qu*st's *ost *****r. T** *ommit *i** s*ows t** *ix: *) ***** `Syst*mS*ttin*s*on*i*` to **t * v*li**t** *om*in, *) Mo*i*i** rout*r *ont*xt to *n