Custom Content Shortcode <= 4.0.2 - Contributor+ LFI
CVE-2023-0340

8.8HIGH

Key Information:

Vendor
Wordpress
Vendor
CVE Published:
20 March 2023

Badges

👾 Exploit Exists🟡 Public PoC

Summary

The Custom Content Shortcode plugin for WordPress, up to version 4.0.2, contains a flaw in its validation of shortcode attributes, enabling users with contributor roles or higher to perform a traversal attack. This vulnerability can be exploited to include arbitrary files and read their content, including non-PHP files. Moreover, if an attacker uploads a malicious image embedded with PHP code, they could successfully execute remote code by including this file through the affected attribute. This poses a serious security risk, particularly in default WordPress installations where authors possess the capability to upload files.

Affected Version(s)

Custom Content Shortcode 0 <= 4.0.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Erwan LR (WPScan)
WPScan
.