{"id":"CVE-2025-60799","aliases":["DEBIAN-CVE-2025-60799","EUVD-2025-198260","GHSA-r63p-v37q-g74c","UBUNTU-CVE-2025-60799"],"status":"published","title":"phppgadmin contains an incorrect access control vulnerability","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00224,"percentile":0.13102,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-284"],"published":"2025-11-20T00:00:00Z","modified":"2026-11-06T10:04:15Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"phppgadmin/phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.13.0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1","7.14.8+dfsg-1"]},{"source":"osv","ecosystem":"Debian:14","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1","7.14.8+dfsg-1"]},{"source":"osv","ecosystem":"Packagist","package":"phppgadmin/phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.13.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1+ds-1","5.1+ds-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1+ds-2","5.1+ds-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1+ds-4","7.12.0+ds-2","7.12.0+ds-3","7.12.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.13.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.13.0+dfsg-2","7.13.0+dfsg-3","7.14.7+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1build1","7.14.8+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1","7.14.7+dfsg-1build1"]}],"products":[{"vendor":"phppgadmin_project","product":"phppgadmin"}],"references":[{"url":"https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76","tags":["Product","web","report"]},{"url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md","tags":["Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60799","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r63p-v37q-g74c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60799.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-60799","tags":["advisory"]},{"url":"https://github.com/phppgadmin/phppgadmin","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-60799","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-60799","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-60799","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.","status":"published","published":"2025-11-20T00:00:00Z","modified":"2025-11-20T21:34:31.713Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:32:40.072186Z"}],"euvd":[{"id":"EUVD-2025-198260","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.","status":"published","published":"2025-11-20T00:00:00Z","modified":"2025-11-20T21:34:31Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:49:14.058235Z"}],"ghsa":[{"id":"GHSA-r63p-v37q-g74c","title":"phppgadmin contains an incorrect access control vulnerability","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.","status":"published","published":"2025-11-20T15:30:24Z","modified":"2025-11-21T18:09:50Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:39:10.178331Z"}],"nvd":[{"id":"CVE-2025-60799","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.","status":"published","published":"2025-11-20T15:17:38.533Z","modified":"2026-11-05T13:10:00.18Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-284"],"updated_at":"2026-11-05T19:55:51.56159Z"}],"osv":[{"id":"CVE-2025-60799","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.","status":"published","published":"2025-11-20T00:00:00Z","modified":"2026-11-07T02:31:09.079300026Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-07T03:07:57.874008Z"},{"id":"DEBIAN-CVE-2025-60799","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.","status":"published","published":"2025-11-20T15:17:38.533Z","modified":"2026-11-06T10:04:15.405321556Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-06T10:38:22.758306Z"},{"id":"GHSA-r63p-v37q-g74c","title":"phppgadmin contains an incorrect access control vulnerability","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.","status":"published","published":"2025-11-20T15:30:24Z","modified":"2025-11-21T18:44:00.30575Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"UBUNTU-CVE-2025-60799","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.","status":"published","published":"2025-11-20T15:17:00Z","modified":"2026-10-17T12:57:09.932260891Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:50.817402Z"}]}}
