Pimcore Admin Bundle 1.2.3 Fixes Host Header URL Token Theft (CVE-2024-23648)
CVE-2024-23648 Published on January 24, 2024
Pimcore Admin Classic Bundle host header injection in the password reset
Pimcore's Admin Classic Bundle provides a backend user interface for Pimcore. The password reset functionality sends to the the user requesting a password change an email containing an URL to reset its password. The URL sent contains a unique token, valid during 24 hours, allowing the user to reset its password. This token is highly sensitive ; as an attacker able to retrieve it would be able to resets the user's password. Prior to version 1.2.3, the reset-password URL is crafted using the "Host" HTTP header of the request sent to request a password reset. This way, an external attacker could send password requests for users, but specify a "Host" header of a website that they control. If the user receiving the mail clicks on the link, the attacker would retrieve the reset token of the victim and perform account takeover. Version 1.2.3 fixes this issue.
Vulnerability Analysis
CVE-2024-23648 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is an Injection Vulnerability?
The software constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Software has certain assumptions about what constitutes data and control respectively. It is the lack of verification of these assumptions for user-controlled input that leads to injection problems. Injection problems encompass a wide variety of issues -- all mitigated in very different ways and usually attempted in order to alter the control flow of the process. For this reason, the most effective way to discuss these weaknesses is to note the distinct features which classify them as injection weaknesses. The most important issue to note is that all injection problems share one thing in common -- i.e., they allow for the injection of control plane data into the user-controlled data plane. This means that the execution of the process may be altered by sending code in through legitimate data channels, using no other mechanism. While buffer overflows, and many other flaws, involve the use of some further issue to gain execution, injection problems need only for the data to be parsed. The most classic instantiations of this category of weakness are SQL injection and format string vulnerabilities.
CVE-2024-23648 has been classified to as an Injection vulnerability or weakness.
Products Associated with CVE-2024-23648
stack.watch emails you whenever new vulnerabilities are published in Pimcore Admin Classic Bundle or Pimcore. Just hit a watch button to start following.
Affected Versions
pimcore admin-ui-classic-bundle Version < 1.2.3 is affected by CVE-2024-23648Vulnerable Packages
The following package name and versions may be associated with CVE-2024-23648
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| composer | pimcore/admin-ui-classic-bundle | < 1.2.3 | 1.2.3 |
| composer | pimcore/admin-ui-classic-bundle | < 1.3.4 | 1.3.4 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.