CVE-2023-28754
Apache ShardingSphere-Agent RCE via Deserialization of Untrusted Data
Description
Deserialization of Untrusted Data vulnerability in Apache ShardingSphere-Agent, which allows attackers to execute arbitrary code by constructing a special YAML configuration file. The attacker needs to have permission to modify the ShardingSphere Agent YAML configuration file on the target machine, and the target machine can access the URL with the arbitrary code JAR. An attacker can use SnakeYAML to deserialize java.net.URLClassLoader and make it load a JAR from a specified URL, and then deserialize javax.script.ScriptEngineManager to load code using that ClassLoader. When the ShardingSphere JVM process starts and uses the ShardingSphere-Agent, the arbitrary code specified by the attacker will be executed during the deserialization of the YAML configuration file by the Agent. This issue affects ShardingSphere-Agent: through 5.3.2. This vulnerability is fixed in Apache ShardingSphere 5.4.0.
INFO
Published Date :
July 19, 2023, 8:15 a.m.
Last Modified :
Oct. 2, 2024, 7:35 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
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-2023-28754
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2023/07/19/3 | Mailing List |
https://lists.apache.org/thread/p8onhqox5kkwow9lc6gs03z28wtyp1cg | Mailing List |
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).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-28754
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-28754
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 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 02, 2024
Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jul. 28, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2023/07/19/3 No Types Assigned http://www.openwall.com/lists/oss-security/2023/07/19/3 Mailing List Changed Reference Type https://lists.apache.org/thread/p8onhqox5kkwow9lc6gs03z28wtyp1cg No Types Assigned https://lists.apache.org/thread/p8onhqox5kkwow9lc6gs03z28wtyp1cg Mailing List Added CWE NIST CWE-502 Added CPE Configuration OR *cpe:2.3:a:apache:shardingsphere:*:*:*:*:*:*:*:* versions up to (excluding) 5.4.0 -
CVE Modified by [email protected]
Jul. 19, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/07/19/3 [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-2023-28754
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-2023-28754
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.07 }} 0.01%
score
0.29705
percentile