CVE-2023-0340
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2023-0340
- Assigner
- contact@wpscan.com
- Vulnerability Status
- Analyzed
- Published Version
- 2023-03-20T16:15:12
- Last Modified Date
- 2023-03-24T03:43:29
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:custom_content_shortcode_project:custom_content_shortcode:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.0.2 |
References
Reference URL | Reference Tags |
---|---|
https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-0340 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0340 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-04-17 02:59:43 | Added to TrackCVE | |||
2023-04-17 02:59:47 | Weakness Enumeration | new |