nday
CVE-2024-2044 GHSA-rj98-crf4-g69w

Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4

pgadmin.org / pgAdmin 4

披露后第 984 天有补丁记录。已有补丁记录,修复版本是 pgAdmin4 8.4。PoC 来源中 metasploit 已收录(1/4)。尚未列入 CISA KEV。

标签 漏洞类型deserialization of untrusted datapath traversal 攻击途径网络无需用户交互 利用情况Metasploit 软件包生态PyPI
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

deserialization of untrusted data
CWE-502(来源:GitHub 公告 GHSA-rj98-crf4-g69w)
path traversal
CWE-22(来源:GitHub 公告 GHSA-rj98-crf4-g69w)CWE-31(来源:ADP CISA-ADP、NVD(转录自 134c704f-9b21-4f2e-91b3-4a467353bcc0)、GitHub 公告 GHSA-rj98-crf4-g69w)
网络
编号分配方 PostgreSQL 给出的 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H(CVSS 3.1)中的 AV:N
无需用户交互
编号分配方 PostgreSQL 给出的 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H(CVSS 3.1)中的 UI:N
Metasploit
Metasploit 模块 exploit/multi/http/pgadmin_session_deserialization
PyPI
GHSA-rj98-crf4-g69w:pip 包 pgAdmin4
当前阶段
POC
披露
披露到补丁
T+984d
CVSS
9.9 CRITICAL v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
2024-03-07T20:48Z
PAT补丁
2026-11-16T16:00Z
ANA分析
尚无记录
POCPoC
metasploit
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling code. If the server is running on Windows, an unauthenticated attacker can load and deserialize remote pickle objects and gain code execution. If the server is running on POSIX/Linux, an authenticated attacker can upload pickle objects, deserialize them, and gain code execution.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS 3.1 向量,来自 CVE 记录,由 CNA PostgreSQL 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 PostgreSQL。CVSS 9.9,严重。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 61354,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-2044",
  "occurred_at": "2024-03-07T20:48:10.066Z",
  "observed_at": "2026-11-12T18:01:52.55281Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.9,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2024-03-11T14:48:18.333654Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-03-07T20:48:10.066Z",
    "assigner_short_name": "PostgreSQL"
  }
}
来源未给时间,本站实时观测
+PAT补丁发布

公告给出修复版本 pgAdmin4 8.4。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa GHSA-rj98-crf4-g69w · 本站 实时观测 · 原始记录
{
  "id": 472982,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-rj98-crf4-g69w",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-rj98-crf4-g69w",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.9,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 9.4,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Path Traversal: 'dir....filename'",
        "cwe_id": "CWE-31"
      },
      {
        "name": "Deserialization of Untrusted Data",
        "cwe_id": "CWE-502"
      }
    ],
    "ghsa_id": "GHSA-rj98-crf4-g69w",
    "packages": [
      {
        "name": "pgAdmin4",
        "ecosystem": "pip",
        "first_patched_version": "8.4",
        "vulnerable_version_range": "< 8.4"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2024-2044",
      "https://github.com/pgadmin-org/pgadmin4/issues/7258",
      "https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d",
      "https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-453.yaml",
      "https://pypi.org/project/pgadmin4",
      "https://github.com/advisories/GHSA-rj98-crf4-g69w"
    ],
    "fix_commit_urls": [
      "https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d"
    ],
    "github_reviewed_at": "2024-03-07T22:39:27Z",
    "advisory_updated_at": "2026-11-16T15:45:57Z",
    "source_code_location": "https://github.com/pgadmin-org/pgadmin4",
    "advisory_published_at": "2024-03-07T21:30:22Z"
  }
}
时间未知来源未给出时间
+POC公开 PoC

Metasploit 收录模块 exploit/multi/http/pgadmin_session_deserialization(pgAdmin Session Deserialization RCE)。来源没有给出模块的发布时间。

来源 metasploit exploit/multi/http/pgadmin_session_deserialization · 本站 批量导入 · 原始记录
{
  "id": 51333,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_session_deserialization.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/pgadmin_session_deserialization",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_session_deserialization.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/pgadmin_session_deserialization.rb",
    "rank": 600,
    "check": true,
    "title": "pgAdmin Session Deserialization RCE",
    "cve_ids": [
      "CVE-2024-2044"
    ],
    "fullname": "exploit/multi/http/pgadmin_session_deserialization",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-04-11 15:55:46 +0000",
    "vuln_disclosure_date": "2024-03-04"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。