Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

CVE ID:CVE-2018-12895
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.
Test IDs: 1.3.6.1.4.1.25623.1.0.875386   1.3.6.1.4.1.25623.1.0.813455   1.3.6.1.4.1.25623.1.0.813454   1.3.6.1.4.1.25623.1.0.875520   1.3.6.1.4.1.25623.1.0.704250   1.3.6.1.4.1.25623.1.0.874806   1.3.6.1.4.1.25623.1.0.874802   1.3.6.1.4.1.25623.1.0.891452  
Cross References: Common Vulnerability Exposure (CVE) ID: CVE-2018-12895
BugTraq ID: 104569
http://www.securityfocus.com/bid/104569
Debian Security Information: DSA-4250 (Google Search)
https://www.debian.org/security/2018/dsa-4250
http://packetstormsecurity.com/files/164633/WordPress-4.9.6-Arbitrary-File-Deletion.html
https://blog.ripstech.com/2018/wordpress-file-delete-to-code-execution/
https://wpvulndb.com/vulnerabilities/9100
https://lists.debian.org/debian-lts-announce/2018/07/msg00046.html




© 1998-2025 E-Soft Inc. All rights reserved.