nday
CVE-2018-12895

WordPress:path traversalnday が生成したタイトルです(CVE レコードにタイトルなし)。

公開から 1,217 日後に PoC が確認されています。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。PoC ソース 4 件中 2 件(exploitdb、metasploit)に掲載されています。CISA KEV には現時点で未掲載です。

tags weakness typepath traversal accessnetworkno user interaction exploitationMetasploitExploit-DB productWordPress product typeCMS and plugins
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
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Metasploit
Metasploit modules auxiliary/scanner/http/wp_arbitrary_file_deletion
Exploit-DB
Exploit-DB entries 50456
WordPress
CPE names NVD's analysts give as vulnerable: a:wordpress:wordpress
CMS and plugins
CPE names NVD's analysts give as vulnerable: a:wordpress:wordpressthe product type of WordPress in nday's product registry
現在の段階
POC
公開日時
公開から PoC まで
T+1217d POC は日付のみ
CVSS 基本値
スコアなし

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
2018-06-26T20:00Z
PAT修正
記録なし
ANA解析
記録なし
POCPoC
2021-10-25 日付のみ
metasploit
ITW悪用
記録なし
KEVKEV
記録なし

概要

WordPress through 4.9.6 allows Author users to execute arbitrary code by leveraging directory traversal in the wp-admin/post.php thumb parameter, which is passed to the PHP unlink function and can delete the wp-config.php file. This is related to missing filename validation in the wp-includes/post.php wp_delete_attachment function. The attacker must have capabilities for files and posts that are normally available only to the Author, Editor, and Administrator roles. The attack methodology is to delete wp-config.php and then launch a new installation process to increase the attacker's privileges.

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

イベント履歴

+DIS公開

mitre が CVE レコードを公開。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 65854,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-12895",
  "occurred_at": "2018-06-26T20:00:00Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2018-06-26T20:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2021-10-25日付のみ、ソース記載
+POCPoC 公開

Exploit-DB が攻撃コード「Wordpress 4.9.6 - Authenticated Arbitrary File Deletion」(EDB-50456)を掲載。Exploit-DB による検証済み。

出典 exploitdb 50456 · nday が にリアルタイムで観測 · 生データ
{
  "id": 503170,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50456",
  "occurred_at": "2021-10-25T00:00:00Z",
  "observed_at": "2026-11-23T14:02:02.56302Z",
  "is_backfill": false,
  "dedupe_key": "50456",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50456",
    "file": "exploits/php/webapps/50456.js",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Wordpress 4.9.6 - Authenticated Arbitrary File Deletion",
    "author": "samguy",
    "edb_id": 50456,
    "cve_ids": [
      "CVE-2018-12895"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2021-10-25",
    "date_updated": "2026-11-23",
    "date_published": "2021-10-25"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

Metasploit がモジュール auxiliary/scanner/http/wp_arbitrary_file_deletion(Wordpress Arbitrary File Deletion)を収録。モジュールの公開日時はソースに記載なし。

出典 metasploit auxiliary/scanner/http/wp_arbitrary_file_deletion · nday が に一括取り込み · 生データ
{
  "id": 50137,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_arbitrary_file_deletion.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/scanner/http/wp_arbitrary_file_deletion",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_arbitrary_file_deletion.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/scanner/http/wp_arbitrary_file_deletion.rb",
    "rank": 300,
    "check": false,
    "title": "Wordpress Arbitrary File Deletion",
    "cve_ids": [
      "CVE-2018-12895"
    ],
    "fullname": "auxiliary/scanner/http/wp_arbitrary_file_deletion",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2025-10-06 17:15:11 +0000",
    "vuln_disclosure_date": "2018-06-26"
  }
}

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.