Vulnerability · Published Mar 20, 2023 · Assigned by WPScan
CVE-2023-0340Custom Content Shortcode <= 4.0.2 - Contributor+ LFI
High 8.8
In plain English
A high-severity security flaw in Custom Content Shortcode from Unknown. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Unknown | Custom Content Shortcode | 0 – through 4.0.2 |
References
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d exploit, vdb-entry, technical-description