CVE-2022-24888 Possible Injection in Nextcloud Server

Medium 4.3 Published Updated

Nextcloud Server allows file names with leading/trailing control characters, potentially enabling injection attacks, requiring an upgrade to fix.

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-2022-24888?

CVE-2022-24888 is a medium-severity vulnerability in Nextcloud Nextcloud Server, published on 27 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Prior to versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1, it is possible to create files and folders that have leading and trailing \n, \r, \t, and \v characters. The server rejects files and folders that have these characters in the middle of their names, so this might be an opportunity for injection. This issue is fixed in versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1. There are currently no known workarounds.

Weakness: CWE-74

Which versions are affected by CVE-2022-24888?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2022-24888?

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

Is CVE-2022-24888 being exploited?

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-w3h6-p64h-q9jp.

Is CVE-2022-24888 in your software?

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

Check your SBOMs for free