National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-12895 Detail

Current 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.

Source:  MITRE
Description Last Modified:  06/26/2018
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 7.2 HIGH
Vector: AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (V3 legend)
Impact Score: 5.9
Exploitability Score: 1.2


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 6.5 MEDIUM
Vector: (AV:N/AC:L/Au:S/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 8.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): Single
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/104569 Third Party Advisory VDB Entry
https://blog.ripstech.com/2018/wordpress-file-delete-to-code-execution/ Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00046.html Mailing List Third Party Advisory
https://wpvulndb.com/vulnerabilities/9100 Third Party Advisory
https://www.debian.org/security/2018/dsa-4250 Third Party Advisory

Technical Details

Vulnerability Type (View All)

Change History

5 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-12895
NVD Published Date:
06/26/2018
NVD Last Modified:
08/20/2018