{"id":"CVE-2021-25830","published":"2021-03-01T15:07:38Z","modified":"2024-08-03T20:11:28Z","title":"A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.12256,"percentile":0.96251,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/ONLYOFFICE/DocumentServer","tags":["x_refsource_MISC"]},{"url":"https://github.com/ONLYOFFICE/core","tags":["x_refsource_MISC"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/UniFill.cpp#L343","tags":["x_refsource_MISC"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241","tags":["x_refsource_MISC"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918","tags":["x_refsource_MISC"]},{"url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25830","tags":["x_refsource_MISC"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.25},{"name":"Public exploit code","points":5.0}]},"summary":{"text":"A file extension handling issue in the [core] module of ONLYOFFICE DocumentServer, versions 4.2.0.236 through 5.6.4.13, is the root of this flaw. An attacker who can get the server to convert a specially crafted DOCT file to DOCX can chain it with two related improper string handling bugs to achieve remote code execution on DocumentServer.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:14Z"},"euvd":{"id":"EUVD-2021-12713","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25830"]}