Intel

AIKIDO-2026-214323

vrana/adminer is vulnerable to Unrestricted File Upload

Unrestricted File UploadGHSA-vcvj-rwwm-x6g5 Published 4 days ago

35

Low Risk

This Affects:

PHPvrana/adminer
0.0.1 - 5.4.2
Fixed in 5.4.3
Are you affected? Scan for Free

TL;DR

The bundled AdminerFileUpload plugin stores uploads for any column whose name ends in _path while preserving the uploader's original extension, and its default extension filter accepts any alphanumeric extension including php. An authenticated user, including a low-privilege editor, can upload a PHP file that is stored with an executable extension. When the upload directory is served as PHP this results in command execution. The fix hardens the default extension handling.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable the bundled AdminerFileUpload plugin with an upload directory that the web server executes as PHP.

Background info

vrana/adminer is vulnerable to Unrestricted File Upload in versions 0.0.1 - 5.4.2.

How to fix this

Upgrade the vrana/adminer library to the patch version.