A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-6164

CVE-2024-6164: Ymc-22 Filter & Grids RCE Vulnerability

CVE-2024-6164 is a remote code execution flaw in Ymc-22 Filter & Grids WordPress plugin that allows unauthenticated attackers to execute arbitrary PHP code. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-6164 Overview

The Filter & Grids WordPress plugin before version 2.8.33 contains a Local File Inclusion (LFI) vulnerability in the post_layout parameter. This security flaw allows unauthenticated attackers to include and execute arbitrary PHP files on the server, enabling remote code execution without requiring any authentication or user interaction.

Critical Impact

Unauthenticated attackers can exploit this vulnerability to execute arbitrary PHP code on vulnerable WordPress installations, potentially leading to complete site compromise, data theft, malware injection, and use of the server for further attacks.

Affected Products

  • Filter & Grids WordPress plugin versions prior to 2.8.33
  • WordPress installations using vulnerable versions of the YMC-22 Filter & Grids plugin

Discovery Timeline

  • 2024-07-18 - CVE-2024-6164 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-6164

Vulnerability Analysis

This vulnerability falls under the Local File Inclusion (LFI) category (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). The flaw exists in how the plugin handles the post_layout parameter, which fails to properly sanitize user-supplied input before using it to include PHP files.

Due to missing or inadequate input validation, an attacker can manipulate the post_layout parameter to traverse directories and include arbitrary PHP files present on the server. When combined with other techniques such as log poisoning or uploading malicious files through other means, this can escalate to full remote code execution.

The vulnerability is particularly severe because it requires no authentication, allowing any remote attacker to exploit it simply by sending a crafted request to the vulnerable endpoint.

Root Cause

The root cause is insufficient input validation and sanitization on the post_layout parameter within the Filter & Grids plugin. The plugin directly uses user-controllable input in file inclusion operations without properly restricting the path to authorized directories or validating that the requested file is an expected layout template.

This represents a classic path traversal weakness where directory traversal sequences (such as ../) can be used to escape the intended directory and access files elsewhere on the filesystem.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to a WordPress site running the vulnerable plugin version. The attack workflow typically involves:

  1. Identifying a WordPress site using Filter & Grids plugin prior to version 2.8.33
  2. Crafting a malicious request with a manipulated post_layout parameter containing directory traversal sequences
  3. Including a PHP file that either already exists on the server (such as configuration files or logs) or has been placed there through another vector
  4. Achieving code execution when the PHP file is processed by the server

For detailed technical information, refer to the WPScan Vulnerability Assessment.

Detection Methods for CVE-2024-6164

Indicators of Compromise

  • Unusual HTTP requests containing directory traversal patterns (../) in the post_layout parameter
  • Web server access logs showing repeated requests to Filter & Grids plugin endpoints with path manipulation attempts
  • Unexpected PHP error messages or warnings related to file inclusion
  • New or modified PHP files appearing in unexpected directories

Detection Strategies

  • Monitor web server access logs for requests containing post_layout parameter with path traversal sequences
  • Implement Web Application Firewall (WAF) rules to detect and block LFI attack patterns
  • Use WordPress security plugins to scan for known vulnerable plugin versions
  • Deploy file integrity monitoring to detect unauthorized file modifications

Monitoring Recommendations

  • Enable detailed logging on WordPress installations and review for anomalous activity
  • Configure alerts for HTTP requests containing common LFI patterns targeting WordPress plugin endpoints
  • Regularly audit installed WordPress plugins against vulnerability databases
  • Monitor for unexpected outbound connections from the web server that might indicate post-exploitation activity

How to Mitigate CVE-2024-6164

Immediate Actions Required

  • Update Filter & Grids plugin to version 2.8.33 or later immediately
  • Review web server access logs for signs of exploitation attempts
  • Conduct a security audit of the WordPress installation if exploitation is suspected
  • Consider temporarily disabling the plugin until the update can be applied

Patch Information

The vulnerability has been addressed in Filter & Grids plugin version 2.8.33. WordPress administrators should update to this version or later through the WordPress plugin admin interface or by downloading the latest version from the official WordPress plugin repository.

For additional vulnerability details, see the WPScan Vulnerability Assessment.

Workarounds

  • Implement WAF rules to block requests containing path traversal patterns in the post_layout parameter
  • Restrict access to WordPress admin and plugin endpoints using IP-based access controls
  • Disable the Filter & Grids plugin temporarily if updating is not immediately possible
  • Use server-side configurations to disable PHP execution in upload directories
bash
# Apache .htaccess configuration to block common LFI patterns
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} (\.\./) [NC,OR]
    RewriteCond %{QUERY_STRING} (post_layout=.*\.\.) [NC]
    RewriteRule .* - [F,L]
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechYmc 22 Filter And Grids

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability5.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • WPScan Vulnerability Assessment
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English