← Back to CVEs
CVE-2021-25830
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/1/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
onlyoffice:document_server
References
https://github.com/ONLYOFFICE/DocumentServer(cve@mitre.org)
https://github.com/ONLYOFFICE/core(cve@mitre.org)
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918(cve@mitre.org)
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241(cve@mitre.org)
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/UniFill.cpp#L343(cve@mitre.org)
https://github.com/ONLYOFFICE/DocumentServer(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/ONLYOFFICE/core(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/UniFill.cpp#L343(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25830(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.