Uncleaned DB Session on Auth Fail in Apache ShardingSphere-Proxy <5.3.0 (MySQL)
CVE-2022-45347 Published on December 22, 2022

Apache ShardingSphere-Proxy: MySQL authentication bypass
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.

Vendor Advisory NVD

Vulnerability Analysis

CVE-2022-45347 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is an Insufficient Cleanup Vulnerability?

The software does not properly "clean up" and remove temporary or supporting resources after they have been used.

CVE-2022-45347 has been classified to as an Insufficient Cleanup vulnerability or weakness.


Products Associated with CVE-2022-45347

Want to know whenever a new CVE is published for Apache Shardingsphere? stack.watch will email you.

 

Affected Versions

Apache Software Foundation Apache ShardingSphere-Proxy:

Exploit Probability

EPSS
0.12%
Percentile
31.42%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.