CVEvulnerability
CVE-2021-25833
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-03-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-22
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.
Affected configurations
• onlyoffice document server (>= 4.2.0.71 <= 5.6.0.21)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/ONLYOFFICE/DocumentServer Product, Vendor Advisory
- https://github.com/ONLYOFFICE/server Product
- https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/DocService/sources/converterservice.js#L200 Third Party Advisory
- https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L283 Third Party Advisory
- https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L593 Third Party Advisory
- https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25833 Exploit, Third Party Advisory
- https://github.com/ONLYOFFICE/DocumentServer Product, Vendor Advisory
- https://github.com/ONLYOFFICE/server Product
- https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/DocService/sources/converterservice.js#L200 Third Party Advisory
- https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L283 Third Party Advisory
- https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L593 Third Party Advisory
- https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25833 Exploit, Third Party Advisory