nday
CVE-2018-16858

LibreOffice:path traversal標題由 nday 產生;CVE 紀錄未附標題。

[UNKNOWN] / libreoffice

揭露 24 天後出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 2 個收錄:exploitdb 與 metasploit。目前未列入 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.

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
目前階段
POC
揭露時間
揭露 → 公開 PoC
T+24d POC 僅有日期
CVSS
7.8 HIGH v3.0

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2019-03-25T17:43Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2019-04-18 僅日期
metasploit
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

事件紀錄

+DIS揭露

CVE 紀錄由 redhat 發布。CVSS 7.8,屬高風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "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-18僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「LibreOffice < 6.0.7 / 6.1.3 - Directory Traversal / Macro Code Execution (Metasploit)」(EDB-46727)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 46727 · nday 於 批次匯入 · 原始
{
  "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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 exploit/multi/fileformat/libreoffice_macro_exec(LibreOffice Macro Code Execution)。來源未提供模組的釋出時間。

來源 metasploit exploit/multi/fileformat/libreoffice_macro_exec · nday 於 批次匯入 · 原始
{
  "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.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.