CVE-2024-22402 Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist

Medium 5.4 Published Updated

Guest users can bypass app allowlists to access unauthorized application pages, requiring an upgrade to the Nextcloud Guests app.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-22402?

CVE-2024-22402 is a medium-severity missing authorization vulnerability in nextcloud security-advisories, published on 18 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Nextcloud guests app is a utility to create guest users which can only see files shared with them. In affected versions users were able to load the first page of apps they were actually not allowed to access. Depending on the selection of apps installed this may present a permissions bypass. It is recommended that the Guests app is upgraded to 2.4.1, 2.5.1 or 3.0.1. There are no known workarounds for this vulnerability.

Weakness: CWE-281

Which versions are affected by CVE-2024-22402?

It affects 1 product.

Products include Nextcloud Guests.

How do I fix CVE-2024-22402?

No fix has been published for CVE-2024-22402 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-22402 being exploited?

There is no known exploitation of CVE-2024-22402 in the wild and no public exploit code.

Sources

Also known as GHSA-v3qw-7vgv-2fxj.

Is CVE-2024-22402 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free