CVE Catalog

CVE-2025-60799

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

13th percentile - higher than 13% of all known CVEs

Summary

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, potentially leading to session poisoning, stored XSS, or unauthorized access to session data.

Risk Assessment

This vulnerability allows an attacker to manipulate the session and potentially execute malicious code or access sensitive data. It can lead to session hijacking and further attacks on the application.

Recommendation

Update phpPgAdmin to a version containing the fix. Implement proper input validation and access control for session variables.

Other vulnerabilities in phpPgAdmin

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS