cbcvebase.
CVE-2024-9014
published 2024-09-23

CVE-2024-9014: pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. This vulnerability allows an attacker to potentially obtain the…

PriorityP277medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
9.76%
94.9th percentile
pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. This vulnerability allows an attacker to potentially obtain the client ID and secret, leading to unauthorized access to user data.

Affected

2 ranges
VendorProductVersion rangeFixed in
pgadmin.orgpgadmin_4< 8.128.12
pgadminpgadmin_4< 8.128.12

Detection & IOCsextracted from sources · hover to see the quote

otherOAUTH2_CLIENT_SECRET
  • Send a GET request to /login?next=/ and check the HTTP 200 response body for the string 'OAUTH2_CLIENT_SECRET' (present) while confirming 'OAUTH2_CLIENT_SECRET": null' is NOT present — indicating the secret is exposed in the login page.
  • The vulnerability exposes OAuth2 client ID and secret in the pgAdmin 4 login page HTML response; look for non-null OAUTH2_CLIENT_SECRET values rendered in the page body.
  • FOFA fingerprint query 'pgadmin4' can be used to identify exposed pgAdmin 4 instances for mass scanning.
  • ·Vulnerability only triggers when OAuth2 authentication is configured in pgAdmin 4; instances not using OAuth2 will not expose OAUTH2_CLIENT_SECRET in the login page.
  • ·A non-null OAUTH2_CLIENT_SECRET in the login page body is the key differentiator for a vulnerable instance; a null value indicates the secret is not exposed.

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vulncheck9.9CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.