PT-2023-22194 · Vitess+2 · Vitess+2
Adamkorcz
·
Published
2023-05-11
·
Updated
2023-05-22
·
CVE-2023-29195
CVSS v3.1
4.1
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Vitess versions prior to 16.0.2
Description
The issue allows users to create a shard containing
/ characters from VTAdmin, which can cause errors when trying to create new shards or view keyspaces. Creating a shard using vtctldclient does not have the same problem because the CLI validates the input correctly.Recommendations
For versions prior to 16.0.2, consider the following workarounds:
Always use
vtctldclient to create shards, instead of using VTAdmin.
Disable creating shards from VTAdmin using RBAC.
Delete the topology record for the offending shard using the client for your topology server.
Update to version 16.0.2 or later, which contains a patch for this issue.Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Vtadmin
Vitess
Vtctldclient