{"id":"CVE-2021-25831","published":"2021-03-01T15:08:37Z","modified":"2024-08-03T20:11:28Z","title":"A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.11986,"percentile":0.96199,"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/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/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328","tags":["x_refsource_MISC"]},{"url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831","tags":["x_refsource_MISC"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.24},{"name":"Public exploit code","points":5.0}]},"summary":{"text":"A file extension handling flaw in the [core] module of ONLYOFFICE DocumentServer (v4.0.0-9 through v5.6.3) lets a crafted file be processed unsafely during format conversion. A remote attacker who can get the server to convert a specially crafted PPTT file to PPTX, chaining two related improper string handling bugs, can achieve remote code execution on DocumentServer.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:14Z"},"euvd":{"id":"EUVD-2021-12714","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831"]}