CVE-2022-45347CWE-459

Apache ShardingSphere-Proxy: MySQL authentication bypass

Critical · published December 22, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
73.7
In the wild
Unconfirmed
What it is

🚨 If you’ve got Apache ShardingSphere-Proxy before version 5.3.0, you might be leaving the door wide open for attackers to execute commands after failed authentication! 🔥 Think of it like a restaurant that forgets to clear the table after a customer leaves — if the staff doesn’t clean up properly, the next customer can use leftover information to place an order without proper clearance! An attacker could exploit this oversight to run commands on your database, potentially accessing sensitive data or even causing harm. This is a major breach that can lead to devastating repercussions for your system!

Put simply

Think of it like a restaurant that forgets to clear the table after a customer leaves — if the staff doesn’t clean up properly, the next customer can use leftover information to place an order without proper clearance! The vulnerability stems from the failure to fully clean up database sessions after authentication attempts fail, allowing attackers to send normal commands by crafting a specific MySQL client, thus bypassing expected security measures.

What to do

An attacker could exploit this oversight to run commands on your database, potentially accessing sensitive data or even causing harm. This is a major breach that can lead to devastating repercussions for your system! Upgrade to Apache ShardingSphere-Proxy version 5.3.0 or later immediately, and review your database security configurations to ensure proper session management. Regularly audit your systems to prevent similar issues going forward. You’ve got this! Take these steps, and you’ll be back on track, securing your system like a pro! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01479 · 73.7th percentile
Weakness
CWE-459 · Incomplete Cleanup
Published
2022-12-22T10:47Z
EPSS history
Timeline
  • 22 DEC 10:47Z
    Apache ShardingSphere-Proxy: MySQL authentication bypass
    cvelistv5