Path Traversal in Onlyoffice Document Server
CVE-2021-25833
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.435, 98.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (konatabrk/POC-onlyoffice, merrychap/POC-onlyoffice). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/ONLYOFFICE/DocumentServer (Product, Vendor Advisory)
- github.com/ONLYOFFICE/server (Product)
- github.com/ONLYOFFICE/server/blob/v5.6.0.21/DocService/sources/converterservice… (Third Party Advisory)
- github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js (Third Party Advisory)
- github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js (Third Party Advisory)
- github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25833 (Exploit, Third Party Advisory)