CVE-2024-53257GHSA-7MWH-Q3XM-QH6PGO-2024-3306
Vitess allows HTML injection in /debug/querylogz & /debug/env
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 21.0.1, 20.0.4, 19.0.8, 0.21.1, 0.20.4, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: poc
- Automatable: no
- Technical impact: partial
Summary
Vitess is a database clustering system for horizontal scaling of MySQL. The /debug/querylogz and /debug/env pages for vtgate and vttablet do not properly escape user input. The result is that queries executed by Vitess can write HTML into the monitoring page at will. These pages are rendered using text/template instead of rendering with a proper HTML templating engine. This vulnerability is fixed in 21.0.1, 20.0.4, and 19.0.8.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- vitessio vitess
From 0.21.0-rc1 · fixed in 21.0.1; From 0.20.0-rc1 · fixed in 20.0.4; fixed in 19.0.8
- vitess.io/vitessGo
From 0.21.0-rc1 · fixed in 0.21.1
- vitess.io/vitessGo
From 0.20.0-rc1 · fixed in 0.20.4
- vitess.io/vitessGo
fixed in 0.19.8
- vitess.io/vitessGo
fixed in 0.19.8; From 0.20.0 · fixed in 0.20.4; From 0.21.0 · fixed in 0.21.1