Vanna v0.3.4 is vulnerable to SQL injection in its DuckDB...
Critical severity
Unreviewed
Published
Jun 29, 2024
to the GitHub Advisory Database
Description
Published by the National Vulnerability Database
Jun 28, 2024
Published to the GitHub Advisory Database
Jun 29, 2024
Vanna v0.3.4 is vulnerable to SQL injection in its DuckDB integration exposed to its Flask Web APIs. Attackers can inject malicious SQL training data and generate corresponding queries to write arbitrary files on the victim's file system, such as backdoor.php with contents
<?php system($_GET[0]); ?>
. This can lead to command execution or the creation of backdoors.References