CVE-2021-25833 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

Critical 9.8 Published Updated

A remote attacker can achieve code execution by exploiting a file extension handling flaw to overwrite arbitrary files in ONLYOFFICE DocumentServer.

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

What is CVE-2021-25833?

CVE-2021-25833 is a critical path traversal vulnerability in n/a, published on 1 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21. The file extension is controlled by an attacker through the request data and leads to arbitrary file overwriting. Using this vulnerability, a remote attacker can obtain remote code execution on DocumentServer.

Weakness: CWE-22

Which versions are affected by CVE-2021-25833?

It affects 1 product.

Products include Onlyoffice Document Server.

How do I fix CVE-2021-25833?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-25833 being exploited?

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

Sources

Also known as GHSA-f4rq-cvc9-g327.

Is CVE-2021-25833 in your software?

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

Check your SBOMs for free