nday
CVE-2024-35374 GHSA-j6cv-98jx-mrwr

Mocodo vulnerable to SQL injection in `/web/generate.php`

公開から 906 日後に修正版が確認されています。修正済みバージョンは mocodo 4.2.7 です。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-77, stated by the ADP CISA-ADP、NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0
SQL injection
CWE-89, stated by GitHub advisory GHSA-j6cv-98jx-mrwr
remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
PyPI
GHSA-j6cv-98jx-mrwr: pip packages mocodo
現在の段階
PAT
公開日時
公開から修正版まで
T+906d
CVSS 基本値
9.8 CRITICAL v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
2024-05-24T20:29Z
PAT修正
2026-11-16T16:00Z
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

Mocodo Mocodo Online 4.2.6 and below does not properly sanitize the sql_case input field in /web/generate.php, allowing remote attackers to execute arbitrary commands and potentially command injection, leading to remote code execution (RCE) under certain conditions.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

イベント履歴

+DIS公開

mitre が CVE レコードを公開。CVSS 基本値 9.8(緊急)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 333777,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-35374",
  "occurred_at": "2024-05-24T20:29:35.384Z",
  "observed_at": "2026-11-13T05:38:34.075966Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2024-08-20T14:39:50.853132Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-05-24T20:29:35.384Z",
    "assigner_short_name": "mitre"
  }
}
ソースに時刻なし、nday が観測
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:mocodo 4.2.7。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-j6cv-98jx-mrwr · nday が にリアルタイムで観測 · 生データ
{
  "id": 472973,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-j6cv-98jx-mrwr",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-j6cv-98jx-mrwr",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.8,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an SQL Command",
        "cwe_id": "CWE-89"
      }
    ],
    "ghsa_id": "GHSA-j6cv-98jx-mrwr",
    "packages": [
      {
        "name": "mocodo",
        "ecosystem": "pip",
        "first_patched_version": "4.2.7",
        "vulnerable_version_range": "<= 4.2.6"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2024-35374",
      "https://github.com/laowantong/mocodo/commit/f9368df28518b6c4a92fd207c260f1978ec34d6e",
      "https://chocapikk.com/posts/2024/mocodo-vulnerabilities",
      "https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158",
      "https://github.com/pypa/advisory-database/tree/main/vulns/mocodo/PYSEC-2026-426.yaml",
      "https://pypi.org/project/mocodo",
      "https://github.com/advisories/GHSA-j6cv-98jx-mrwr"
    ],
    "fix_commit_urls": [
      "https://github.com/laowantong/mocodo/commit/f9368df28518b6c4a92fd207c260f1978ec34d6e"
    ],
    "github_reviewed_at": "2024-05-28T20:20:37Z",
    "advisory_updated_at": "2026-11-16T15:33:23Z",
    "source_code_location": "https://github.com/laowantong/mocodo",
    "advisory_published_at": "2024-05-28T20:20:37Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.