Skip to content

CVE-2022-45347 Apache ShardingSphere-Proxy: MySQL authentication bypass

CriticalCVSS 9.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

Description

Apache ShardingSphere-Proxy prior to 5.3.0 when using MySQL as database backend didn't cleanup the database session completely after client authentication failed, which allowed an attacker to execute normal commands by constructing a special MySQL client. This vulnerability has been fixed in Apache ShardingSphere 5.3.0.

Affected products

ProductAffected versionsFixed in
org.apache.shardingsphere/shardingsphere-proxy(Maven) < 5.3.0 5.3.0
org.apache.shardingsphere/shardingsphere-proxy(Maven) = 5.0.0 No fix listed
org.apache.shardingsphere/shardingsphere-proxy(Maven) = 5.1.0 No fix listed
org.apache.shardingsphere/shardingsphere-proxy(Maven) = 5.1.1 No fix listed
org.apache.shardingsphere/shardingsphere-proxy(Maven) = 5.1.2 No fix listed
org.apache.shardingsphere/shardingsphere-proxy(Maven) = 5.2.0 No fix listed
org.apache.shardingsphere/shardingsphere-proxy(Maven) = 5.2.1 No fix listed
Apache ShardingSphere-Proxy < 5.3.0 5.3.0
apache shardingsphere < 5.3.0 5.3.0

References