phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118. The application directly executes user-supplied SQL queries from the $_REQUEST['query'] parameter without any sanitization or parameterization via $data->conn->Execute($_REQUEST['query']). An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.
References
| Link | Resource |
|---|---|
| https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 | Product |
| https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2025-11-20 15:17
Updated : 2025-11-25 19:13
NVD link : CVE-2025-60797
Mitre link : CVE-2025-60797
CVE.ORG link : CVE-2025-60797
JSON object : View
Products Affected
phppgadmin_project
- phppgadmin
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
