Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-60798: n/a

0
Medium
VulnerabilityCVE-2025-60798cvecve-2025-60798
Published: Thu Nov 20 2025 (11/20/2025, 00:00:00 UTC)
Source: CVE Database V5

Description

phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.

AI-Powered Analysis

AILast updated: 11/27/2025, 15:36:59 UTC

Technical Analysis

CVE-2025-60798 identifies a SQL injection vulnerability in phpPgAdmin, an open-source web-based administration tool for PostgreSQL databases. The flaw exists in the display.php script at line 396, where the application directly passes user-controlled input from the $_REQUEST['query'] parameter to the browseQuery function without proper sanitization or parameterization. This lack of input validation allows an authenticated attacker to inject malicious SQL code, which the database executes. Exploiting this vulnerability could lead to unauthorized data disclosure, as attackers can craft queries to extract sensitive information from the database. The vulnerability requires the attacker to have valid credentials to access phpPgAdmin, but no additional user interaction is necessary. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) indicates network attack vector, low attack complexity, privileges required, no user interaction, unchanged scope, high confidentiality impact, and no impact on integrity or availability. No patches or known exploits are currently documented, but the vulnerability is publicly disclosed and should be considered a significant risk for environments using vulnerable phpPgAdmin versions. The root cause is a classic CWE-89 SQL Injection due to improper input handling, emphasizing the need for secure coding practices such as prepared statements and input sanitization.

Potential Impact

For European organizations, the impact of this vulnerability can be substantial, especially for those relying on phpPgAdmin to manage PostgreSQL databases that contain sensitive or regulated data. Successful exploitation could lead to unauthorized disclosure of confidential information, including personal data protected under GDPR, intellectual property, or critical business data. Although the vulnerability does not directly affect data integrity or availability, the breach of confidentiality alone can result in regulatory penalties, reputational damage, and operational disruptions. Sectors such as finance, healthcare, government, and critical infrastructure in Europe are particularly at risk due to their reliance on PostgreSQL and the sensitive nature of their data. The requirement for authentication limits the attack surface but does not eliminate risk, as credential compromise or insider threats could facilitate exploitation. The absence of known exploits in the wild suggests a window of opportunity for proactive mitigation before widespread attacks occur.

Mitigation Recommendations

1. Restrict access to phpPgAdmin interfaces using network-level controls such as VPNs, IP whitelisting, or firewall rules to limit exposure to trusted users only. 2. Enforce strong authentication mechanisms and monitor access logs for suspicious activity to reduce the risk of credential compromise. 3. Apply patches or updates from the phpPgAdmin project as soon as they become available to address the vulnerability directly. 4. Implement input validation and sanitization on all user-supplied data, particularly the 'query' parameter, using prepared statements or parameterized queries to prevent SQL injection. 5. Limit database user privileges associated with phpPgAdmin to the minimum necessary, avoiding use of superuser or highly privileged accounts. 6. Conduct regular security assessments and code reviews focusing on injection flaws and other input validation issues. 7. Educate administrators and developers about secure coding practices and the risks of SQL injection. 8. Consider alternative database management tools with stronger security postures if timely patching is not feasible.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2025-09-26T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 691f31a85f37bd1ac4562516

Added to database: 11/20/2025, 3:20:08 PM

Last enriched: 11/27/2025, 3:36:59 PM

Last updated: 1/7/2026, 9:23:21 AM

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats