vrana/adminer is vulnerable to Path Traversal
54
Medium Risk
The sql-log plugin builds its log file path from the ns request parameter and appends it without sanitization. The value is normally validated as a schema name, but that check is skipped when no database is selected, leaving the path fully controlled by the request. An authenticated user connecting with their own database server can write .sql files to any directory writable by the process, enabling traversal outside the web root. The fix validates the schema input before it is used in the log path.
You are affected if you are using a version that falls within the vulnerable range and you enable the bundled sql-log plugin.
vrana/adminer is vulnerable to Path Traversal in versions 5.3.0 - 5.4.2.
Upgrade the vrana/adminer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant