Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/e4e64a51-618b-41d0-8f56-1d2146d8825e
- https://huntr.com/bounties/e4e64a51-618b-41d0-8f56-1d2146d8825e
FAQ
What is CVE-2024-5827?
CVE-2024-5827 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 arbitr...
How severe is CVE-2024-5827?
CVE-2024-5827 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-5827?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.