nday
CVE-2018-12895

WordPress: path traversalTítulo compuesto por nday; el registro CVE no tiene título.

Apareció una PoC pública 1217 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 recogen 2 de las 4 fuentes de PoC: exploitdb y metasploit. No figura en el KEV de CISA.

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
etapa
POC
divulgación
divulgación → PoC
T+1217d POC: solo fecha
cvss
sin puntuación aún

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2018-06-26T20:00Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
2021-10-25, solo fecha
metasploit
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

mitre publicó el registro CVE.

fuente cvelist · nday , importación masiva · en bruto
{
  "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-25solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «Wordpress 4.9.6 - Authenticated Arbitrary File Deletion» (EDB-50456). Verificado por Exploit-DB.

fuente exploitdb 50456 · nday , observado en tiempo real · en bruto
{
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Metasploit incluye el módulo auxiliary/scanner/http/wp_arbitrary_file_deletion (Wordpress Arbitrary File Deletion). La fuente no indica cuándo se publicó el módulo.

fuente metasploit auxiliary/scanner/http/wp_arbitrary_file_deletion · nday , importación masiva · en bruto
{
  "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.

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.