CVE-2018-12895:WordPress through 4.9.6 allows Author users to execute arbitrary code by leveraging directory traversal in the wp-admin/post.php thumb parameter, leading to the deletion of the wp-config.php file.

splash
Back

Description Preview

WordPress through version 4.9.6 is vulnerable to a security issue that allows Author users to execute arbitrary code by exploiting a directory traversal vulnerability in the wp-admin/post.php thumb parameter. This vulnerability can be abused to delete the wp-config.php file, which contains sensitive configuration information. The issue stems from missing filename validation in the wp-includes/post.php wp_delete_attachment function. An attacker with capabilities normally available to Author, Editor, or Administrator roles can exploit this vulnerability to delete wp-config.php and potentially escalate their privileges by launching a new installation process.

Overview

This CVE affects WordPress versions up to 4.9.6 and allows Author users to execute arbitrary code through directory traversal in the thumb parameter of wp-admin/post.php. The vulnerability arises from a lack of filename validation in the wp_delete_attachment function, enabling the deletion of wp-config.php.

Remediation

To remediate this vulnerability, users should update their WordPress installations to a version beyond 4.9.6. Additionally, it is recommended to review and restrict user capabilities to prevent unauthorized access and exploitation of this vulnerability.

References

  1. Blog Post - RIPS Technologies
  2. Security Focus BID: 104569
  3. Debian Security Advisory DSA-4250
  4. WPVulnDB - Vulnerability Details
  5. Debian LTS Announce Mailing List
  6. Packet Storm Security Advisory

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  2. Educational Services
    Educational Services
  3. Manufacturing
    Manufacturing
  4. Transportation & Warehousing
    Transportation & Warehousing
  5. Accommodation & Food Services
    Accommodation & Food Services
  6. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  7. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  8. Construction
    Construction
  9. Finance and Insurance
    Finance and Insurance
  10. Health Care & Social Assistance
    Health Care & Social Assistance
  11. Information
    Information
  12. Management of Companies & Enterprises
    Management of Companies & Enterprises
  13. Mining
    Mining
  14. Other Services (except Public Administration)
    Other Services (except Public Administration)
  15. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  16. Public Administration
    Public Administration
  17. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  18. Retail Trade
    Retail Trade
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database