← Back to CVEs
CVE-2021-25831
CRITICAL9.8
Description
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.
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/Fills/BlipFill.cpp#L328(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/Fills/BlipFill.cpp#L328(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831(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.