CVE-2018-12895

Scores

EPSS

0.890high89.0%
0%20%40%60%80%100%

Percentile: 89.0%

CVSS

8.8high3.x
0246810

CVSS Score: 8.8/10

All CVSS Scores

CVSS 3.x
8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
6.5

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

Description

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdubuntu

CWEs

CWE-22

Exploits

Exploit ID: CVE-2018-12895

Source: github-poc

URL: https://github.com/bloom-ux/cve-2018-12895-hotfix

Vulnerable Software (22)

Type: Configuration

Product: wordpress

Operating System: debian

Trait:
{  "fixed": "4.9.7+dfsg1-1"}

Source: debian

Type: Configuration

Product: wordpress

Operating System: ubuntu artful 17.10

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu bionic 18.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu cosmic 18.10

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu disco 19.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu eoan 19.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu focal 20.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu groovy 20.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu hirsute 21.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu impish 21.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu jammy 22.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu kinetic 22.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu lunar 23.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu mantic 23.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu noble 24.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu oracular 24.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu plucky 25.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu questing 25.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu trusty 14.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: wordpress

Operating System: ubuntu xenial 16.04

Trait:
{  "unfixed": true}

Source: ubuntu