vulnerability

WordPress Plugin: ai-engine: CVE-2024-6451: Improper Control of Generation of Code ('Code Injection')

Severity
8
CVSS
(AV:N/AC:L/Au:M/C:C/I:C/A:C)
Published
Jul 29, 2024
Added
May 15, 2025
Modified
May 15, 2025

Description

The AI Engine plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.5.0 via the /wp-json/mwai/v1/settings/update REST API endpoint. This is due to the plugin not properly validating a log path file extension allowing a user to set the log extension as .php making the file executable. This makes it possible for authenticated attackers, with administrator-level access and above, to execute code on the server.

Solution

ai-engine-plugin-cve-2024-6451
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.