nday
CVE-2018-16858

LibreOffice : path traversalTitre composé par nday ; la fiche CVE n’en comporte pas.

[UNKNOWN] / libreoffice

Preuve de concept publique parue 24 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 2 des 4 sources de PoC : exploitdb et metasploit. Aucune inscription au catalogue KEV de la CISA à ce jour.

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 NVD's analysts
local
AV:L in CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA redhat
no authentication required
PR:N in CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA redhat
Metasploit
Metasploit modules exploit/multi/fileformat/libreoffice_macro_exec
Exploit-DB
Exploit-DB entries 46727
LibreOffice
CPE names NVD's analysts give as vulnerable: a:libreoffice:libreoffice
office / document software
CPE names NVD's analysts give as vulnerable: a:libreoffice:libreofficethe product type of LibreOffice in nday's product registry
étape actuelle
POC
divulgation
délai avant PoC
T+24d POC : date seule
CVSS
7.8 HIGH v3.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2019-03-25T17:43Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2019-04-18, date seule
metasploit
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute arbitrary macros bundled with a document. An attacker could craft a document, which when opened by LibreOffice, would execute a Python method from a script in any arbitrary file system location, specified relative to the LibreOffice install location.

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.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.0 vector from the CVE record, scored by the CNA redhat.

Journal des événements

+DISdivulgation

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

source cvelist · importé en masse par nday le · brut
{
  "id": 66000,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-16858",
  "occurred_at": "2019-03-25T17:43:08Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.0",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2019-03-25T17:43:08.000Z",
    "assigner_short_name": "redhat"
  }
}
2019-04-18date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « LibreOffice < 6.0.7 / 6.1.3 - Directory Traversal / Macro Code Execution (Metasploit) » (EDB-46727). Code vérifié par Exploit-DB.

source exploitdb 46727 · importé en masse par nday le · brut
{
  "id": 26592,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/46727",
  "occurred_at": "2019-04-18T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "46727",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/46727",
    "file": "exploits/multiple/local/46727.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)",
      "Local"
    ],
    "type": "local",
    "title": "LibreOffice < 6.0.7 / 6.1.3 - Directory Traversal / Macro Code Execution (Metasploit)",
    "author": "Metasploit",
    "edb_id": 46727,
    "cve_ids": [
      "CVE-2018-16858"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-04-18",
    "date_updated": "2019-04-18",
    "date_published": "2019-04-18"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/multi/fileformat/libreoffice_macro_exec (« LibreOffice Macro Code Execution »). La source n’indique pas la date de publication du module.

source metasploit exploit/multi/fileformat/libreoffice_macro_exec · importé en masse par nday le · brut
{
  "id": 51076,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/libreoffice_macro_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/fileformat/libreoffice_macro_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/libreoffice_macro_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/fileformat/libreoffice_macro_exec.rb",
    "rank": 300,
    "check": false,
    "title": "LibreOffice Macro Code Execution",
    "cve_ids": [
      "CVE-2018-16858"
    ],
    "fullname": "exploit/multi/fileformat/libreoffice_macro_exec",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-12-17 17:11:13 +0000",
    "vuln_disclosure_date": "2018-10-18"
  }
}

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.