Description
Adminer versions 5.3.0 through 5.4.2 with the sql-log plugin enabled contain an arbitrary file write vulnerability in the ns parameter of plugins/sql-log.php. An authenticated user can supply path traversal sequences in the ns parameter to write arbitrary .sql files with attacker-controlled content to any writable directory on the host.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vrana | adminer | 5.3.0 – ≤ 5.4.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | adminer | 5.4.3+dfsg-1 | — |
| Debian 13 | adminer | No fix yet | — |
| Debian 12 | adminer | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | adminer | No fix yet | — |
| Ubuntu 24.04 LTS | adminer | No fix yet | — |
| Ubuntu 22.04 LTS | adminer | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | adminer | No fix yet | — |
| Ubuntu Pro 18.04 LTS | adminer | No fix yet | — |
| Ubuntu Pro 16.04 LTS | adminer | No fix yet | — |
References
- GitHub Security Advisory (GHSA-75xm-qwfq-9wp5) vendor-advisory
- VulnCheck Advisory: Adminer sql-log Plugin 5.3.0 through 5.4.2 Arbitrary File Write third-party-advisory