Cyber Resilience

CVE-2023-1907

Pgadmin ≤ 7.0

Published
09 January 2025
Modified
20 June 2025
CVSS Score v3.1 8.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0045 37th percentile
Risk Priority 56 floored blend · peak EPSS

Summary

CVE-2023-1907 is a high-severity Exposure of Data Element to Wrong Session (CWE-488) vulnerability in Pgadmin Pgadmin. Its CVSS base score is 8.0 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Services File Permissions Weakness (T1574.010); ranked at the 37th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-1907 is a vulnerability in pgAdmin, specifically affecting instances running in server mode with LDAP authentication. It occurs when multiple connection attempts happen simultaneously, causing a logging user to be attached to another user's session. The issue is associated with CWE-488 (inconsistent interpretations of HTTP requests) and CWE-276 (incorrect default permissions), and carries a CVSS v3.1 base score of 8.0 (AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H).

A low-privileged authenticated user (PR:L) can exploit this over the network (AV:N), though it requires high attack complexity (AC:H) and user interaction (UI:R). Successful exploitation allows the attacker to hijack another user's session, resulting in high impacts to confidentiality, integrity, and availability, with a changed scope (S:C) that may affect additional resources.

Mitigation details are available in the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2023-1907 and the related Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2218384.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A vulnerability was found in pgadmin. Users logging into pgAdmin running in server mode using LDAP authentication may be attached to another user's session if multiple connection attempts occur simultaneously.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1574.010 Services File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by services.
T1543 Create or Modify System Process Persistence
Adversaries may create or modify system-level processes to repeatedly execute malicious payloads as part of persistence.
T1550.004 Web Session Cookie Lateral Movement
Adversaries can use stolen session cookies to authenticate to web applications and services.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-6238Same vendor: Pgadmin
CVE-2025-9636Same vendor: Pgadmin
CVE-2026-7813Same vendor: Pgadmin
CVE-2026-1707Same vendor: Pgadmin
CVE-2025-12762Same vendor: Pgadmin
CVE-2026-7816Same vendor: Pgadmin
CVE-2025-12765Same vendor: Pgadmin
CVE-2025-12764Same vendor: Pgadmin
CVE-2026-7815Same vendor: Pgadmin
CVE-2025-0218Same vendor: Pgadmin

Affected Assets

pgadmin
pgadmin
≤ 7.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 11 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

AC-3 enforces access decisions that can be scoped to the correct session context.

AC-4 controls information flows between entities, reducing cross-session leakage.

Requires least-privilege defaults so that installed files are not world-writable by default.

Requires documented, restrictive configuration settings that cover file and directory permissions.

SC-4 directly stops unintended transfer of data through shared resources that different sessions may access.

Enforces access restrictions on changes, including permission settings applied during installation or configuration.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-01 full match
prevents

Hardened baselines and configuration management explicitly require correct default file permissions.

PR.AA-05 mostly match
prevents

Defining and enforcing least-privilege access permissions directly prevents overly permissive defaults at install time.

ID.AM-08 partial match
prevents

Lifecycle management can encompass permission settings, yet the control is too broad to specifically mitigate incorrect defaults.

PR.DS-10 partial match
prevents

Protecting data-in-use directly addresses runtime leakage of session data to unauthorized contexts.

PR.IR-01 partial match
prevents

Logical access controls and segmentation can be applied to isolate session state within applications or environments.

PR.PS-06 partial match
prevents

Secure SDLC practices include establishing secure defaults, but address only the development-phase portion of the weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect the weakness but does not itself implement the preventive control.

prevents

Standard templates that restrict access to utility programs and host parameter settings prevent the assignment of overly permissive default permissions on critical resources.

prevents

Secure development lifecycle practices include session-management controls that prevent exposure of data to the wrong session.

prevents

Application security requirements explicitly call for proper session isolation and state management.

prevents

Secure system architecture principles require isolation of session state to avoid cross-session data leakage.

prevents

Secure coding standards mandate correct session handling to prevent exposure of data elements to the wrong session.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Windows Server 2016 (2 rules)
  • V-224833 Permissions for program file directories must conform to minimum requirements. prevents CWE-276
  • V-224834 Permissions for the Windows installation directory must conform to minimum requirements. prevents CWE-276
Windows Server 2019 (2 rules)
  • V-205735 Windows Server 2019 permissions for program file directories must conform to minimum requirements. prevents CWE-276
  • V-205736 Windows Server 2019 permissions for the Windows installation directory must conform to minimum requirements. prevents CWE-276
Windows Server 2022 (2 rules)
  • V-254252 Windows Server 2022 permissions for program file directories must conform to minimum requirements. prevents CWE-276
  • V-254253 Windows Server 2022 permissions for the Windows installation directory must conform to minimum requirements. prevents CWE-276

References