Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Improper Neutralization of Special Elements in Data Query Logic vulnerabilities in an interactive lesson.
Start learningUpgrade github.com/clidey/whodb/core/src/plugins/mysql
to version 0.46.0 or higher.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via the database connection URI construction process due to improper input sanitization. An attacker can read local files on the host machine by injecting parameters such as &allowAllFiles=true
into the connection string of the library github.com/go-sql-driver/mysql
, which manipulates the behavior of the database connection library to allow loading data from any local file.