CVE-2023-0340 Custom Content Shortcode <= 4.0.2 - Contributor+ LFI
HighCVSS 8.8
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHPWordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| custom content shortcode project custom content shortcode | <= 4.0.2 | after 4.0.2 | Fixed |
| wordpress custom-content-shortcode(WordPress) | <= 4.0.2 | after 4.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| custom content shortcode project custom content shortcode | <= 4.0.2 | No fix listed |
| wordpress custom-content-shortcode(WordPress) | <= 4.0.2 | No fix listed |
References
- wpscan.com exploit technical-description third-party-advisory vdb-entry
- Wordfence Intelligence third-party-advisory
- www.cve.org