MainWP Code Snippets Extension <= 4.0.2 - Authenticated (Subscriber+) PHP Code Injection

2023-01-18 00:00
Dave Jong

Strategic Overview

Status
Patched in 4.0.3
Affected Version<= 4.0.2
CVSS8.8High
CVECVE-2023-23645
View all MainWP Code Snippets Extension vulnerabilities

Vulnerability Overview

The MainWP Code Snippets Extension for WordPress is vulnerable to code injection in versions up to, and including, 4.0.2. This makes it possible for attackers with subscriber-level privileges or higher to execute arbitrary code via the plugin.

Technical Analysis

REMEDIATION: Update to version 4.0.3, or a newer patched version --- IDENTIFIER: CWE-94 (Improper Control of Generation of Code ('Code Injection')) The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C