Apache ShardingSphere 4.0.0-RC3-4.0.0 - Remote Code Execution via SnakeYAML Deserialization
Title source: llmExploitation Summary
EIP tracks 4 public exploits for CVE-2020-1947. PoCs published by jas502n, wsfengfan, StarkChristmas.
AI-analyzed exploit summary This repository provides a proof-of-concept for CVE-2020-1947, a YAML deserialization vulnerability in Apache ShardingSphere UI 4.0.0. The exploit leverages a malicious YAML payload to achieve remote code execution via LDAP reference injection.
Description
In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere's web console uses the SnakeYAML library for parsing YAML inputs to load datasource configuration. SnakeYAML allows to unmarshal data to a Java type By using the YAML tag. Unmarshalling untrusted data can lead to security flaws of RCE.
Exploits (4)
This repository provides a proof-of-concept for CVE-2020-1947, a YAML deserialization vulnerability in Apache ShardingSphere UI 4.0.0. The exploit leverages a malicious YAML payload to achieve remote code execution via LDAP reference injection.
This PoC exploits a deserialization vulnerability in Apache ShardingSphere by sending a malicious payload via the `/api/schema` endpoint, leveraging the `JdbcRowSetImpl` gadget to trigger an LDAP-based RCE. The exploit requires authentication and a crafted LDAP server to execute arbitrary commands.
This repository contains a proof-of-concept exploit for CVE-2020-1947, a deserialization vulnerability in Apache ShardingSphere UI. The exploit leverages SnakeYAML's unsafe deserialization to achieve remote code execution via a malicious YAML payload.
This PoC exploits CVE-2020-1947 by implementing a malicious ScriptEngineFactory that executes arbitrary code during class initialization. It demonstrates RCE by triggering a ping command to a remote domain.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H