WP Latest Posts <= 5.0.7 - Authenticated (Subscriber+) Arbitrary Shortcode Execution

2024-05-07 00:00
stealthcopter

Strategic Overview

Status
Patched in 5.0.8
Affected PluginWP Latest Posts
Affected Version<= 5.0.7
CVSS5.4Medium
CVECVE-2024-4135
View all WP Latest Posts vulnerabilities

Vulnerability Overview

The WP Latest Posts plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 5.0.7. This is due to the plugin allowing users to execute an action that does not properly validate a user-supplied value prior to using that value in a call to do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.

Technical Analysis

REMEDIATION: Update to version 5.0.8, 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