# GHSA-hfpp-2vhw-qq43: eZ Platform Admin UI Password reset vulnerability

> Attackers can brute force password reset tokens to take over user accounts in eZ Platform Admin UI.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 15 May 2024

## What is GHSA-hfpp-2vhw-qq43?

GHSA-hfpp-2vhw-qq43 is an authentication bypass vulnerability in ezsystems/ezplatform-user, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

his Security Update fixes a severe vulnerability in the eZ Platform Admin UI, and we recommend that you install it as soon as possible. It affects eZ Platform 2.x.
 
The functionality for resetting a forgotten password is vulnerable to brute force attack. Depending on configuration and other circumstances an attacker may exploit this to gain control over user accounts. The update ensures such an attack is exceedingly unlikely to succeed.
 
You may want to consider a configuration change to further strengthen your security. By default a password reset request is valid for 1 hour. Reducing this time will make attacks even more difficult, but ensure there is enough time left to account for email delivery delays, and user delays. See documentation at https://doc.ezplatform.com/en/latest/guide/user_management/#changing-and-recovering-passwords

To install, use Composer to update to one of the "Resolving versions" mentioned above. If you use eZ Platform 2.5, update ezsystems/ezplatform-user to v1.0.1. If you use eZ Platform 2.4, update ezsystems/ezplatform-admin-ui to v1.4.6, and ezsystems/ezplatform-admin-ui-modules to v1.4.4, and ezsystems/repository-forms to v2.4.5)

## Which versions are affected by GHSA-hfpp-2vhw-qq43?

2 open source packages ship an affected version, including ezsystems/ezplatform-user.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `ezsystems/ezplatform-user` | Packagist | From 1.0.0 | 1.0.1 |
| `ezsystems/ezplatform-user` | Packagist | From 1.0.0 | 1.0.1 |

## How do I fix GHSA-hfpp-2vhw-qq43?

Upgrade ezsystems/ezplatform-user to 1.0.1 or later.

## Is GHSA-hfpp-2vhw-qq43 being exploited?

There is no known exploitation of GHSA-hfpp-2vhw-qq43 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-hfpp-2vhw-qq43 and fix it if it is affected.

What it is: GHSA-hfpp-2vhw-qq43 is an authentication bypass vulnerability in ezsystems/ezplatform-user, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-hfpp-2vhw-qq43 in the wild and no public exploit code.

Affected packages and fixed versions:
- ezsystems/ezplatform-user (Packagist): affected from 1.0.0; fixed in 1.0.1
- ezsystems/ezplatform-user (Packagist): affected from 1.0.0; fixed in 1.0.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-hfpp-2vhw-qq43/ (Markdown: https://insights.sbomify.com/GHSA-hfpp-2vhw-qq43/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-hfpp-2vhw-qq43

---
From sbomify Insights: https://insights.sbomify.com/GHSA-hfpp-2vhw-qq43/
Summaries are generated and may contain mistakes; the official description above is the record.
