{"id":"CVE-2024-25625","published":"2024-02-19T15:41:29Z","modified":"2024-08-14T13:47:42Z","title":"Pimcore Host Header Injection in user invitation link","vendor":"pimcore","product":"admin-ui-classic-bundle","tier":"tail","description":{"text":"Pimcore's Admin Classic Bundle provides a Backend UI for Pimcore. A potential security vulnerability has been discovered in `pimcore/admin-ui-classic-bundle` prior to version 1.3.4. The vulnerability involves a Host Header Injection in the `invitationLinkAction` function of the UserController, specifically in the way `$loginUrl` trusts user input.  The host header from incoming HTTP requests is used unsafely when generating URLs. An attacker can manipulate the HTTP host header in requests to the /admin/user/invitationlink endpoint, resulting in the generation of URLs with the attacker's domain. In fact, if a host header is injected in the POST request, the $loginURL parameter is constructed with this unvalidated host header. It is then used to send an invitation email to the provided user. This vulnerability can be used to perform phishing attacks by making the URLs in the invitation links emails point to an attacker-controlled domain. Version 1.3.4 contains a patch for the vulnerability. The maintainers recommend validating the host header and ensuring it matches the application's domain. It would also be beneficial to use a default trusted host or hostname if the incoming host header is not recognized or is absent.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00682,"percentile":0.53415,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-3qpq-6w89-f7mx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pimcore/admin-ui-classic-bundle/commit/b9fee9d383fc73dbd5e1d98dbb0ff3266d6b5a82","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":10.68},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"pimcore","affectedVersions":[{"vendor":"pimcore","product":"admin-ui-classic-bundle","versions":["< 1.3.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-08-14T13:46:22.717165Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"pimcore/admin-ui-classic-bundle","vulnerableRanges":["<1.3.4"],"patched":["1.3.4"],"from":["GHSA-3qpq-6w89-f7mx"],"provenance":"source"}],"summary":{"text":"The Host Header Injection flaw lies in the invitationLinkAction function of the UserController in Pimcore's admin-ui-classic-bundle, prior to version 1.3.4, where the login URL is built from the unvalidated incoming Host header. An attacker who can reach the /admin/user/invitationlink endpoint and has high-privilege authentication, with a user interaction required, can manipulate the Host header so that the invitation email contains a link to an attacker-controlled domain, enabling phishing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:08Z"},"euvd":{"id":"EUVD-2024-0490","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pimcore-admin-ui-classic-bundle-cve-2023-5844","parents":[{"from":"CVE-2023-5844","to":"CVE-2024-25625","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Controller/Admin/UserController.php"],"commits":["https://github.com/pimcore/admin-ui-classic-bundle/commit/498ac77e54541177be27b0c710e387c47b3836ea","https://github.com/pimcore/admin-ui-classic-bundle/commit/b9fee9d383fc73dbd5e1d98dbb0ff3266d6b5a82"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-23648","published":"2024-01-24","fixed":"1.2.3","kev":false},{"cve":"CVE-2024-23646","published":"2024-01-24","fixed":"1.3.2","kev":false},{"cve":"CVE-2024-24822","published":"2024-02-07","fixed":"1.3.3","kev":false,"link":{"from":"CVE-2024-24822","to":"CVE-2024-25625","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pimcore/admin-ui-classic-bundle","fromFixed":"1.3.3","toFixed":"1.3.4","daysApart":12}]}},{"cve":"CVE-2024-25625","published":"2024-02-19","fixed":"1.3.4","kev":false},{"cve":"CVE-2024-41109","published":"2024-07-30","fixed":"1.5.2","kev":false,"link":{"from":"CVE-2024-25625","to":"CVE-2024-41109","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pimcore/admin-ui-classic-bundle","fromFixed":"1.3.4","toFixed":"1.5.2","daysApart":162}]}},{"cve":"CVE-2025-24980","published":"2025-02-07","fixed":"1.7.4","kev":false},{"cve":"CVE-2025-30166","published":"2025-04-08","fixed":"1.7.6","kev":false}],"package":"Packagist:pimcore/admin-ui-classic-bundle"}}