CVE-2024-25625: Pimcore - Host Header Injection
- Cve: CVE-2024-25625
- Name: Pimcore - Host Header Injection
- 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.
- Impact: Attackers can craft URLs in invitation emails pointing to malicious domains, enabling phishing attacks against users.
- Remediation: Validate the host header and ensure it matches the application's domain; update to version 1.3.4 or later.
- Vulnerability type: host_header_injection
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Epss score: 0.00682
- Epss percentile: 0.5344
- Assignee: [email protected]
- Published at: 2024-02-19T16:15:52Z
- Age in days: 1009
- Modified at: 2026-06-17T07:16:19Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-25625
- Nvd status: analyzed
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-3qpq-6w89-f7mx | nvd | 2024-02-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pimcore/admin-ui-classic-bundle/commit/b9fee9d383fc73dbd5e1d98dbb0ff3266d6b5a82 | nvd | Patch |
| https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-3qpq-6w89-f7mx | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pimcore:admin_classic_bundle | < 1.3.4 | no | nvd | /v1/products/pimcore/admin_classic_bundle |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pimcore/admin-ui-classic-bundle | commit, fix, package, security_advisory | yes | /v1/repositories/pimcore/admin-ui-classic-bundle |
Index
- Repositories: 4
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-02-19
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts