# CVE-2019-10784: Cross-site request forgery in phppgadmin

> A CSRF vulnerability in phpPgAdmin allows attackers to trick administrators into executing arbitrary system commands on the server.

- **Severity:** Critical 9.6 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 4 Feb 2020
- **Updated:** 4 Aug 2024
- **Also known as:** DEBIAN-CVE-2019-10784, GHSA-84mp-rmf8-wc24, MGASA-2021-0074, SNYK-PHP-PHPPGADMINPHPPGADMIN-543885, UBUNTU-CVE-2019-10784, openSUSE-SU-2022:10065-1, openSUSE-SU-2024:12194-1

## What is CVE-2019-10784?

CVE-2019-10784 is a critical vulnerability in phppgadmin, published on 4 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

phppgadmin through 7.12.1 allows sensitive actions to be performed without validating that the request originated from the application. One such area, "database.php" does not verify the source of an HTTP request. This can be leveraged by a remote attacker to trick a logged-in administrator to visit a malicious page with a CSRF exploit and execute arbitrary system commands on the server.

Weakness: CWE-352 (Cross-Site Request Forgery)

## Which versions are affected by CVE-2019-10784?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `phpPgAdmin` | SUSE:Package Hub 15 SP3 | All versions | 7.13.0-bp154.2.3.1 |
| `phpPgAdmin` | SUSE:Package Hub 15 SP4 | All versions | 7.13.0-bp154.2.3.1 |
| `phpPgAdmin` | openSUSE:Leap 15.3 | All versions | 7.13.0-bp154.2.3.1 |
| `phpPgAdmin` | openSUSE:Leap 15.4 | All versions | 7.13.0-bp154.2.3.1 |

Products: Phppgadmin Project Phppgadmin.

## How do I fix CVE-2019-10784?

Upgrade to a fixed version.

## Is CVE-2019-10784 being exploited?

There is no known exploitation of CVE-2019-10784 in the wild and no public exploit code.

## Other vulnerabilities in phppgadmin

- [CVE-2023-40619](https://insights.sbomify.com/CVE-2023-40619/): Deserialization in n/a (critical 9.8)
- [CVE-2025-60797](https://insights.sbomify.com/CVE-2025-60797/): phppgadmin contains a SQL injection vulnerability (medium 6.5)
- [CVE-2025-60798](https://insights.sbomify.com/CVE-2025-60798/): phppgadmin contains a SQL injection vulnerability (medium 6.5)
- [CVE-2025-60796](https://insights.sbomify.com/CVE-2025-60796/): phppgadmin vulnerable to Cross-site Scripting (medium 6.1)
- [CVE-2025-60799](https://insights.sbomify.com/CVE-2025-60799/): phppgadmin contains an incorrect access control vulnerability (medium 6.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-10784 and fix it if it is affected.

What it is: CVE-2019-10784 is a critical vulnerability in phppgadmin, published on 4 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2019-10784 in the wild and no public exploit code.

Affected product: phppgadmin. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-10784/ (Markdown: https://insights.sbomify.com/CVE-2019-10784/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-10784
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-10784
- OSV: https://osv.dev/vulnerability/CVE-2019-10784

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-10784/
Summaries are generated and may contain mistakes; the official description above is the record.
