Critical Vulnerability in phpMyAdmin: Local File Disclosure Risk

phpmyadmin Updated 03 Oct 2025

Summary

11/12/2018
N/A
Yes i
Medium
6.5

UBUNTU-CVE-2018-19968: An attacker can exploit phpMyAdmin before 4.8.4 to leak the contents of a local file because of an error in the transformation feature. Affects phpmyadmin versions < 4:4.0.10-1ubuntu0.1+esm4. Fixed in 4:4.0.10-1ubuntu0.1+esm4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

phpMyAdmin is a widely used web-based database management tool for MySQL and MariaDB. It allows users to manage databases through a user-friendly interface, providing functionalities such as executing SQL queries, managing users, and importing/exporting data. However, certain versions of phpMyAdmin are vulnerable to a local file disclosure issue, which can lead to unauthorized access to sensitive information stored on the server.

Vulnerability Detail

The vulnerability identified as CVE-2018-19968 affects phpMyAdmin versions prior to 4.8.4. It arises from an error in the transformation feature, allowing an attacker with valid credentials to exploit the system and leak the contents of local files. The attacker must have access to the phpMyAdmin Configuration Storage tables, which can be created in any accessible database. This vulnerability does not bypass the login system but can expose sensitive data if exploited.

How To Fix

Minimum fixed version

4:4.0.10-1ubuntu0.1+esm4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpmyadmin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, restrict access to phpMyAdmin by implementing IP whitelisting or using a VPN to limit exposure. Additionally, ensure that sensitive files are not accessible through the web server.

Conclusion

The vulnerability CVE-2018-19968 poses a significant risk to phpMyAdmin users, allowing potential local file disclosure. It is crucial to update to the latest patched versions to mitigate this risk. Users should also consider implementing workarounds until they can apply the necessary updates.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

CVE-2018-19968 is a vulnerability in phpMyAdmin that allows attackers to leak local file contents due to an error in the transformation feature.

Versions of phpMyAdmin prior to 4.8.4 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 6.5, indicating a medium severity level.

If immediate updates are not possible, consider implementing workarounds such as restricting access to phpMyAdmin and ensuring sensitive files are not publicly accessible.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.0.10-1ubuntu0.1+esm4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpmyadmin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback