Local File Disclosure Vulnerability in phpMyAdmin: CVE-2018-19968

phpmyadmin Updated 02 Oct 2025

Summary

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

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 across 2 version ranges.

< 4:4.9.1+dfsg1-2 >= 6da64cc3b2ba4439574f914f51e161645375be96, < 56ba19808f020fa8ac63366d450c3928564a91b8

Fixed in 4:4.9.1+dfsg1-2. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

phpMyAdmin is a widely-used open-source tool for managing MySQL databases through a web interface. It provides a user-friendly way to interact with databases, allowing users to execute SQL queries, manage database structures, and handle data. However, certain versions of phpMyAdmin prior to 4.8.4 are vulnerable to a local file disclosure issue due to an error in the transformation feature, which can be exploited if an attacker has access to the phpMyAdmin Configuration Storage tables.

Vulnerability Detail

CVE-2018-19968 allows an attacker with valid credentials to exploit phpMyAdmin versions before 4.8.4 to leak the contents of local files. The vulnerability arises from improper handling of the transformation feature, enabling attackers to access sensitive information stored in local files. This issue requires the attacker to have access to the phpMyAdmin Configuration Storage tables, which can be easily created in any accessible database. The vulnerability does not allow bypassing the login system, but it poses a significant risk to data confidentiality.

How To Fix

Minimum fixed version

4:4.9.1+dfsg1-2

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

If upgrading is not immediately possible, consider restricting access to phpMyAdmin to trusted IP addresses only and ensure that sensitive files are not accessible through the web server.

Conclusion

CVE-2018-19968 is a significant vulnerability in phpMyAdmin that can lead to local file disclosure if not addressed. Users are urged to upgrade to the latest version to mitigate risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

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

Any user of phpMyAdmin versions prior to 4.8.4 who has valid login credentials and access to the Configuration Storage tables is at risk.

An attacker could gain access to sensitive information stored in local files, leading to data breaches and potential exploitation of other vulnerabilities.

You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

The CVSS score for CVE-2018-19968 is 6.5, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.9.1+dfsg1-2

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