SecurityContext

CVE-2025-60799: phpPgAdmin - Broken Access Control

  • Cve: CVE-2025-60799
  • Name: phpPgAdmin - Broken Access Control
  • 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.
  • Impact: Attackers can manipulate session data to execute stored XSS or access sensitive session information, leading to unauthorized access or session poisoning.
  • Remediation: Update to the latest version of phpPgAdmin.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: stored_xss, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00224
  • Epss percentile: 0.13065
  • Assignee: [email protected]
  • Published at: 2025-11-20T15:17:38Z
  • Age in days: 369
  • Modified at: 2026-11-05T13:10:00Z
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-60799
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-284Improper Access Control

References

UrlSourceTags
https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.mdnvdThird Party Advisory
https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
phppgadmin_project:phppgadmin<= 7.13.0nonvd/v1/products/phppgadmin_project/phppgadmin

Projects

RepositoryLink kindsIndexedUrl
phppgadmin/phppgadminpackageyes/v1/repositories/phppgadmin/phppgadmin

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1467
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports