CVE-2025-60799 phppgadmin contains an incorrect access control vulnerability
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebian
Description
phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76. The application allows unauthorized manipulation of session variables by accepting user-controlled parameters ('subject', 'server', 'database', 'queryid') without proper validation or access control checks. Attackers can exploit this to store arbitrary SQL queries in $_SESSION['sqlquery'] by manipulating these parameters, potentially leading to session poisoning, stored cross-site scripting, or unauthorized access to sensitive session data.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/phppgadmin(Debian 13) | = 7.14.7+dfsg-1; = 7.14.8+dfsg-1; All versions | No fix listed | No fix yet |
| debian/phppgadmin(Debian 14) | = 7.14.7+dfsg-1; = 7.14.8+dfsg-1; All versions | No fix listed | No fix yet |
| ubuntu/phppgadmin(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/phppgadmin(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/phppgadmin(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/phppgadmin(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| phppgadmin project phppgadmin | <= 7.13.0 | after 7.13.0 | Fixed |
| phppgadmin/phppgadmin(Packagist) | <= 7.13.0 | after 7.13.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phppgadmin/phppgadmin(Packagist) | <= 7.13.0 | No fix listed |
| debian/phppgadmin(Debian:13) | All versions | No fix listed |
| debian/phppgadmin(Debian:13) | = 7.14.7+dfsg-1 | No fix listed |
| debian/phppgadmin(Debian:13) | = 7.14.8+dfsg-1 | No fix listed |
| debian/phppgadmin(Debian:14) | All versions | No fix listed |
| debian/phppgadmin(Debian:14) | = 7.14.7+dfsg-1 | No fix listed |
| debian/phppgadmin(Debian:14) | = 7.14.8+dfsg-1 | No fix listed |
| ubuntu/phppgadmin(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/phppgadmin(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/phppgadmin(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/phppgadmin(Ubuntu:26.10) | All versions | No fix listed |
| phppgadmin project phppgadmin | <= 7.13.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com product
- github.com exploit third-party-advisory
- Debian Security Tracker CVE-2025-60799 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org