Advisory

GHSA-r63p-v37q-g74c

Also known as: CVE-2025-60799

Summary

phppgadmin contains an incorrect access control vulnerability

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-20 15:30 UTC
Modified
2025-11-21 18:44 UTC

Affected packages and fixes

phppgadmin/phppgadmin

Packagist · All systems

Affected

  • introduced 0, last affected 7.13.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences