nday
CVE-2022-4510

Path Traversal in binwalk

Refirm Labs / binwalk

Apareció una PoC pública 70 días después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: exploitdb. No figura en el KEV de CISA.

tags weakness typepath traversal accesslocalno authentication required exploitationExploit-DB
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.

path traversal
CWE-22, stated by the CNA ONEKEY, NVD's analysts y NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA ONEKEY
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA ONEKEY
Exploit-DB
Exploit-DB entries 51249
etapa
POC
divulgación
divulgación → PoC
T+70d POC: solo fecha
cvss
7.8 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2023-01-25T12:25Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
2023-04-05, solo fecha
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included. By crafting a malicious PFS filesystem file, an attacker can get binwalk's PFS extractor to extract files at arbitrary locations when binwalk is run in extraction mode (-e option). Remote code execution can be achieved by building a PFS filesystem that, upon extraction, would extract a malicious binwalk module into the folder .config/binwalk/plugins. This vulnerability is associated with program files src/binwalk/plugins/unpfs.py.

This issue affects binwalk from 2.1.2b through 2.3.3 included.

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

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
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:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA ONEKEY.

Registro de eventos

+DISdivulgación

ONEKEY publicó el registro CVE. CVSS 7.8, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 62400,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-4510",
  "occurred_at": "2023-01-25T12:25:14.811Z",
  "observed_at": "2026-11-12T19:05:02.001372Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-03-27T19:54:52.860514Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2023-01-25T12:25:14.811Z",
    "assigner_short_name": "ONEKEY"
  }
}
2023-04-05solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «Binwalk v2.3.2 - Remote Command Execution (RCE)» (EDB-51249).

fuente exploitdb 51249 · nday , importación masiva · en bruto
{
  "id": 42264,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/51249",
  "occurred_at": "2023-04-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "51249",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/51249",
    "file": "exploits/python/remote/51249.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Binwalk v2.3.2 - Remote Command Execution (RCE)",
    "author": "Etienne Lacoche",
    "edb_id": 51249,
    "cve_ids": [
      "CVE-2022-4510"
    ],
    "platform": "python",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2023-04-05",
    "date_updated": "2023-04-05",
    "date_published": "2023-04-05"
  }
}

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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.