CVE-2023-0340

HIGHCVSS 8.8/10EPSS 1.05%

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
8.8/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.05%

59.9th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
Custom Content Shortcode ProjectCustom Content Shortcode<= 4.0.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-0340?
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.
How severe is CVE-2023-0340?
CVE-2023-0340 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 1.05% probability of exploitation in the next 30 days.
How do I fix CVE-2023-0340?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-0340?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST