Critical severity · published Feb 19, 2024
CVE-2024-25625
Pimcore Host Header Injection in user invitation link
9.3
CVSS
0.7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AD
admin-ui-classic-bundle · pimcore
< 1.3.4 · source: vendor
AC
Admin Classic Bundle · Pimcore
before 1.3.4 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-25625
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-25625
Patch
https://github.com/pimcore/admin-ui-classic-bundle/commit/b9fee9d383fc73dbd5e1d98dbb0ff3266d6b5a82
Exploit
https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-3qpq-6w89-f7mx
More from admin-ui-classic-bundle
9.1
CVE-2024-24822
Pimcore Admin Classic Bundle permissions are not getting checked when working with tags
8.8
CVE-2024-23646
Pimcore Admin Classic Bundle SQL Injection in Admin download files as zip
8.8
CVE-2024-23648
Pimcore Admin Classic Bundle host header injection in the password reset
7.2
CVE-2023-49075
Pimcore Admin UI has Two Factor Authentication disabled for non admin security firewalls
6.5
CVE-2024-41109
Pimcore vulnerable to disclosure of system and database information behind /admin firewall
