GHSA-7vwg-39h8-8qp8 /user/sessions endpoint allows detecting valid accounts
An unauthenticated attacker can enumerate valid user accounts by analyzing response differences from the /user/sessions endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-7vwg-39h8-8qp8?
GHSA-7vwg-39h8-8qp8 is a vulnerability in ezsystems/ezplatform-rest, published on 11 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This Security Advisory is about a vulnerability in eZ Platform v1.13, v2.5, and v3.2, and in Ibexa DXP and Ibexa Open Source v3.3. The /user/sessions endpoint can let an attacker detect if a given username or email refers to a valid account. This can be detected through differences in the response data or response time of certain requests. The fix ensures neither attack is possible. The fix is distributed via Composer.
If you come across a security issue in our products, here is how you can report it to us: https://doc.ibexa.co/en/latest/guide/reporting_issues/#toc
Which versions are affected by GHSA-7vwg-39h8-8qp8?
4 open source packages ship an affected version, including ezsystems/ezplatform-rest.
| Package | Affected | Fixed in |
|---|---|---|
ezsystems/ezplatform-rest Packagist | From 1.2.0 | 1.2.2.1 |
ezsystems/ezplatform-rest Packagist | From 1.2.0 | 1.2.2.1 |
ezsystems/ezplatform-rest Packagist | From 1.3.0 | 1.3.1.1 |
ezsystems/ezplatform-rest Packagist | From 1.3.0 | 1.3.1.1 |
How do I fix GHSA-7vwg-39h8-8qp8?
Upgrade ezsystems/ezplatform-rest to a fixed version for your release line: 1.2.2.1 or 1.3.1.1.
Is GHSA-7vwg-39h8-8qp8 being exploited?
There is no known exploitation of GHSA-7vwg-39h8-8qp8 in the wild and no public exploit code.