Vulnerability Details : CVE-2021-25831
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.
Vulnerability category: Execute code
Products affected by CVE-2021-25831
- cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-25831
4.62%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 93 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-25831
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
References for CVE-2021-25831
-
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241
core/BinaryFileReaderWriter.cpp at v5.6.4.13 · ONLYOFFICE/core · GitHubVendor Advisory
-
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918
core/BinaryFileReaderWriter.cpp at v5.6.4.13 · ONLYOFFICE/core · GitHubVendor Advisory
-
https://github.com/ONLYOFFICE/DocumentServer
GitHub - ONLYOFFICE/DocumentServer: ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XMLProduct
-
https://github.com/ONLYOFFICE/core
GitHub - ONLYOFFICE/core: Server core components which are a part of ONLYOFFICE Document ServerProduct;Vendor Advisory
-
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328
core/BlipFill.cpp at v5.6.4.13 · ONLYOFFICE/core · GitHubVendor Advisory
-
https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831
poc_exploits/ONLYOFFICE/CVE-2021-25831 at master · merrychap/poc_exploits · GitHubExploit;Vendor Advisory
Jump to