nday
CVE-2022-4510

Path Traversal in binwalk

Refirm Labs / binwalk

Preuve de concept publique parue 70 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : exploitdb. Aucune inscription au catalogue KEV de la CISA à ce jour.

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 et 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
étape actuelle
POC
divulgation
délai avant PoC
T+70d POC : date seule
CVSS
7.8 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2023-01-25T12:25Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2023-04-05, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par ONEKEY. CVSS 7.8, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "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-05date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Binwalk v2.3.2 - Remote Command Execution (RCE) » (EDB-51249).

source exploitdb 51249 · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.