Improper Access Control
CVE-2025-60799
Summary
phpPgAdmin contains an incorrect access control vulnerability in "sql.php". 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 (XSS), or Unauthorized Access to Sensitive Session Data.
- LOW
- NETWORK
- LOW
- CHANGED
- REQUIRED
- NONE
- LOW
- NONE
CWE-284 - Improper Access Control
Listed 5th in the 'OWASP Top Ten', improper (or broken) access control attacks are a fundamental type of vulnerability. This includes a broad range of design flaws that enable users to act outside of their intended permissions. They can use these privileges to gain access to restricted files and functionality such as accessing restricted information, falsifying records, destroying data, or executing commands.
References
Advisory Timeline
- Published