{"id":"CVE-2021-25831","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2021-03-01T15:08:37.000Z","updatedAt":"2024-08-03T20:11:28.475Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/ONLYOFFICE/DocumentServer","https://github.com/ONLYOFFICE/core","https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241","https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918","https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328","https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:10.461Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/25xxx/CVE-2021-25831.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-25831","state":"PUBLISHED","datePublished":"2021-03-01T15:08:37.000Z","dateUpdated":"2024-08-03T20:11:28.475Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-01-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-03-02T12:29:24.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-25831","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/ONLYOFFICE/DocumentServer","refsource":"MISC","url":"https://github.com/ONLYOFFICE/DocumentServer"},{"name":"https://github.com/ONLYOFFICE/core","refsource":"MISC","url":"https://github.com/ONLYOFFICE/core"},{"name":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241","refsource":"MISC","url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241"},{"name":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918","refsource":"MISC","url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918"},{"name":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328","refsource":"MISC","url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328"},{"name":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831","refsource":"MISC","url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ONLYOFFICE/DocumentServer","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ONLYOFFICE/core","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T20:11:28.475Z"}}]}}}