CVE-2024-52509 Nextcloud Mail app does not respect download permissions in shares

Low 3.5 Published Updated

Attackers can bypass download restrictions on shared files by attaching them to emails, allowing unauthorized data access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-52509?

CVE-2024-52509 is a low-severity missing authorization vulnerability in nextcloud security-advisories, published on 15 Nov 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Nextcloud Mail is the mail app for Nextcloud, a self-hosted productivity platform. The Nextcloud mail app incorrectly allowed attaching shared files without download permissions as attachments. This allowed users to send them the files to themselves and then downloading it from their mail clients. It is recommended that the Nextcloud Mail is upgraded to 2.2.10, 3.6.2 or 3.7.2.

Weakness: CWE-284

Which versions are affected by CVE-2024-52509?

It affects 1 product.

Products include Nextcloud Mail.

How do I fix CVE-2024-52509?

No fix has been published for CVE-2024-52509 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-52509 being exploited?

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

Sources

Also known as GHSA-pwpp-fvcr-w862.

Is CVE-2024-52509 in your software?

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

Check your SBOMs for free