The Custom Content Shortcode WordPress plugin through 4.0.2 does not validate one of its shortcode attribute, which could allow users with a contributor role and above to include arbitrary files via a traversal attack. This could also allow them to read non PHP files and retrieve their content. RCE could also be achieved if the attacker manage to upload a malicious image containing PHP code, and then include it via the affected attribute, on a default WP install, authors could easily achieve that given that they have the upload_file capability.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published: 2023-03-20T15:52:22.788Z

Updated: 2024-08-02T05:10:55.668Z

Reserved: 2023-01-17T15:34:18.055Z

Link: CVE-2023-0340

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-03-20T16:15:12.000

Modified: 2023-11-07T04:00:13.950

Link: CVE-2023-0340

cve-icon Redhat

No data.