CVE-2021-25831
ONLYOFFICE DocumentServer File Extension Handling Remote Code Execution Vulnerability
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.
INFO
Published Date :
March 1, 2021, 4:15 p.m.
Last Modified :
March 15, 2021, 7:53 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-25831 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-25831
.
URL | Resource |
---|---|
https://github.com/ONLYOFFICE/DocumentServer | Product |
https://github.com/ONLYOFFICE/core | Product Vendor Advisory |
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918 | Vendor Advisory |
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241 | Vendor Advisory |
https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328 | Vendor Advisory |
https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831 | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
:unlock: Vulnerability Research and Proof of Concept exploits for ONLYOFFICE
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-25831
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-25831
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Mar. 15, 2021
Action Type Old Value New Value Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Removed CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Removed CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
Initial Analysis by [email protected]
Mar. 05, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831 No Types Assigned https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831 Exploit, Vendor Advisory Changed Reference Type https://github.com/ONLYOFFICE/core No Types Assigned https://github.com/ONLYOFFICE/core Product, Vendor Advisory Changed Reference Type https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918 No Types Assigned https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918 Vendor Advisory Changed Reference Type https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241 No Types Assigned https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241 Vendor Advisory Changed Reference Type https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328 No Types Assigned https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328 Vendor Advisory Changed Reference Type https://github.com/ONLYOFFICE/DocumentServer No Types Assigned https://github.com/ONLYOFFICE/DocumentServer Product Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:* versions from (including) 4.0.0-9 up to (including) 5.6.3 -
CVE Modified by [email protected]
Mar. 02, 2021
Action Type Old Value New Value Added Reference https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-25831
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-25831
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
4.62 }} 0.27%
score
0.92629
percentile