Impact
ProxySQL, a database proxy for MySQL and its forks, incorrectly parses PROXY UNKNOWN frames in the PROXY protocol version 1. The proxy interprets the address fields that should be ignored as a legitimate client address, writing the spoofed source address into the session and then using that value in the query rule matcher. This flaw is an input validation weakness (CWE-348) that allows an attacker to assume any source IP address and has the proxy route their query as if it originated from that address, thereby bypassing all client‑address based access control and routing rules (CWE-863).
Affected Systems
The vulnerability affects Sysown ProxySQL versions 2.0.0 through 3.0.8. Version 3.0.9 and later includes the necessary fix.
Risk and Exploitability
The issue carries a CVSS score of 10, indicating a highly severe flaw. The EPSS score is not available, and the flaw is not listed in CISA KEV. The likely attack vector is any TCP peer that can reach the MySQL frontend port – an attacker can send a spoofed PROXY UNKNOWN frame and force the proxy to route traffic as if it came from a trusted IP.
OpenCVE Enrichment