Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability in ProxySQL, a database proxy, allows unauthenticated attackers to bypass routing and access controls by manipulating the PROXY protocol header. This could enable unauthorized access to sensitive data or critical database operations by misdirecting traffic. The main concern is confirming relevance and exposure.
- Malicious actors can spoof client addresses.
- Bypasses critical database routing and access controls.
- Confirm if ProxySQL is used and exposed to this threat.
Attack Path
How an attacker could exploit the issue
An attacker can send a specially crafted PROXY protocol header to ProxySQL's frontend port. Because ProxySQL incorrectly parses the `UNKNOWN` token in the header, it accepts spoofed client IP addresses. This allows an attacker to bypass routing and access control rules, potentially gaining access to sensitive internal routing or filtering mechanisms.
- Attacker must reach ProxySQL frontend.
- Triggered by malformed PROXY protocol header.
- Bypasses routing and access controls.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an unauthenticated attacker to bypass routing and access control rules in ProxySQL when the PROXY protocol is enabled. By sending a specially crafted PROXY frame, an attacker could trick ProxySQL into treating their traffic as if it originated from a trusted source IP address, potentially gaining unauthorized access to internal application routes or sensitive data.
- Forged client IP addresses in routing.
- Bypassing query rules and ACLs.
- Unauthorized access to internal routes.
Operational Fix
Recommended remediation, mitigation, and detection steps
ProxySQL deployments are likely managed by infrastructure, platform, or database administration teams responsible for database connectivity and routing. The first actionable step is to inventory all ProxySQL instances, determine their reachability and business criticality, identify the owning team, and then prioritize remediation based on exposure.
- Infrastructure or Platform Teams own this.
- Verify ProxySQL reachability and criticality.
- Plan maintenance for vendor-supported updates.