CVE-2024-25625 Pimcore Host Header Injection in user invitation link
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pimcore admin classic bundle | < 1.3.4; >= 1.0.0, < 1.3.4 | 1.3.4 | Fixed |
| pimcore/admin-ui-classic-bundle(Packagist) | < 1.3.4; = v1.0.0; = v1.0.0-BETA1; = v1.0.0-RC1 +23 more | 1.3.4 | Fixed |
| pimcore/admin-ui-classic-bundle | = < 1.3.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pimcore/admin-ui-classic-bundle(Packagist) | < 1.3.4 | 1.3.4 |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.0 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.0-BETA1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.0-RC1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.0-RC2 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.2 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.3 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.4 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.5 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.0.6 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.1.0 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.1.0-RC1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.1.1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.1.2 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.1.3 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.1.4 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.2 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.2.0-RC1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.2.1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.2.2 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.2.3 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.3.0 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.3.0-RC1 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.3.1 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.3.2 | No fix listed |
| pimcore/admin-ui-classic-bundle(Packagist) | = v1.3.3 | No fix listed |
| pimcore/admin-ui-classic-bundle | = < 1.3.4 | No fix listed |
| pimcore admin classic bundle | >= 1.0.0, < 1.3.4 | 1.3.4 |
| pimcore admin classic bundle | < 1.3.4 | 1.3.4 |
References
- https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-3qpq-6w89-f7mx exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/pimcore/admin-ui-classic-bundle/commit/b9fee9d383fc73dbd5e1d98dbb0ff3266d6b5a82 patch
- github.com product
- github.com