Custom Content Shortcode <= 4.0.1 - Authenticated Arbitrary File Access / Local File Inclusion

2022-02-02 00:00
Francesco Carlucci

Strategic Overview

Status
Patched in 4.0.2
Affected Version<= 4.0.1
CVSS4.3Medium
CVECVE-2021-24825
View all Custom Content Shortcode vulnerabilities

Vulnerability Overview

The Custom Content Shortcode WordPress plugin before 4.0.2 does not validate the data passed to its load shortcode, which could allow Contributor+ (v < 4.0.1) or Admin+ (v < 4.0.2) users to display arbitrary files from the filesystem (such as logs, .htaccess etc), as well as perform Local File Inclusion attacks as PHP files will be executed. Please note that such attack is still possible by admin+ in single site blogs by default (but won't be when either the unfiltered_html or file_edit is disallowed)

Technical Analysis

REMEDIATION: Update to version 4.0.2, or a newer patched version --- IDENTIFIER: CWE-284 (Improper Access Control) The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

External References

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