CVE-2023-28754
Last modified
CVE-2023-28754 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Shardingsphere | < 5.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-28754?
How severe is CVE-2023-28754?
How do I fix CVE-2023-28754?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-28748Improper Neutralization of Special Elements used in an SQL C…9.8
- CVE-2023-28749Cross-Site Request Forgery (CSRF) vulnerability in CreativeM…8.8
- CVE-2023-2875A vulnerability, which was classified as problematic, was fo…5.5
- CVE-2023-28750Unauth. Reflected Cross-Site Scripting (XSS) vulnerability i…6.1
- CVE-2023-28751Auth. (admin+) Stored Cross-Site Scripting (XSS) vulnerabili…4.8
- CVE-2023-28753netconsd prior to v0.2 was vulnerable to an integer overflow…9.8
- CVE-2023-28755A ReDoS issue was discovered in the URI component through 0.…5.3
- CVE-2023-28756A ReDoS issue was discovered in the Time component through 0…5.3
- CVE-2023-28758An issue was discovered in Veritas NetBackup before 8.3.0.2.…7.1
- CVE-2023-28759An issue was discovered in Veritas NetBackup before 10.0 on …7.8
- CVE-2023-2876Sensitive Cookie Without 'HttpOnly' Flag vulnerability in AB…6.1
- CVE-2023-28760TP-Link AX1800 WiFi 6 Router (Archer AX21) devices allow una…7.5
Are you affected by CVE-2023-28754?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
