Original description
A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13. An attacker must request the conversion of the crafted file from DOCT into DOCX format. Using the chain of two other bugs related to improper string handling, an attacker can achieve remote code execution on DocumentServer.
Affected software
- ONLYOFFICE * repository or package match
Details
- Published
- 2021-03-02
- Last modified
- 2024-08-04
- EPSS (30-day exploit probability)
- 11.76% (percentile 96)
References
- cve.org/CVE-2021-25830
- nvd.nist.gov/vuln/detail/CVE-2021-25830
- github.com/ONLYOFFICE/DocumentServer
- github.com/ONLYOFFICE/core
- github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/UniFill.cpp#L...
- github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter....
- github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter....
- github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25830
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.