Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Custom Content Shortcode Project | Custom Content Shortcode | <= 4.0.2 |
References
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543dExploitThird Party Advisory
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543dExploitThird Party Advisory
FAQ
What is CVE-2023-0340?
CVE-2023-0340 is a vulnerability with a CVSS score of 8.8 (HIGH). 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...
How severe is CVE-2023-0340?
CVE-2023-0340 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-0340?
Check the references section above for vendor advisories and patch information. Affected products include: Custom Content Shortcode Project Custom Content Shortcode.