CVE-2023-0340
Last modified
CVE-2023-0340 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.05% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Custom Content Shortcode Project | Custom Content Shortcode | <= 4.0.2 |
References
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543dExploit, Third Party Advisory
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543dExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-0340?
How severe is CVE-2023-0340?
How do I fix CVE-2023-0340?
Are you affected by CVE-2023-0340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
