Shortcodes Ultimate <= 5.12.6 - Authenticated (Subscriber+) Arbitrary File Read via Shortcode

2023-02-10 00:00
Rafie Muhammad

Strategic Overview

Status
Patched in 5.12.7
Affected Version<= 5.12.6
CVSS6.5Medium
CVECVE-2023-25050
View all Shortcodes Ultimate – Content Elements vulnerabilities

Vulnerability Overview

The Shortcodes Ultimate plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 5.12.6. This is due to insufficient validation on the url being supplied via the "url" attribute of the su_table shortcode. This makes it possible for authenticated attackers, with subscriber-level privileges and above, to supply paths to arbitrary files that will be returned when rendering the shortcode. This can be leveraged to read sensitive configuration files like wp-config.php. This is only exploitable when the Unsafe features option is enabled.

Technical Analysis

REMEDIATION: Update to version 5.12.7, or a newer patched version --- IDENTIFIER: CWE-73 (External Control of File Name or Path) The product allows user input to control or influence paths or file names that are used in filesystem operations.

External References

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