Vulnerability in Onlyoffice Document Server
CVE-2021-25831
A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. An attacker must request the conversion of the crafted file from PPTT into PPTX format. Using the chain of two other bugs related to improper string handling, a remote attacker can obtain remote code execution on DocumentServer.
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.115, 96.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
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)
- github.com/ONLYOFFICE/core (Product, Vendor Advisory)
- github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileRe… (Vendor Advisory)
- github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileRe… (Vendor Advisory)
- github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fi… (Vendor Advisory)
- github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831 (Exploit, Vendor Advisory)