{ "id": "CVE-2023-0340", "sourceIdentifier": "contact@wpscan.com", "published": "2023-03-20T16:15:12.000", "lastModified": "2023-03-24T03:43:29.657", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "contact@wpscan.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:custom_content_shortcode_project:custom_content_shortcode:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "4.0.2", "matchCriteriaId": "A1891241-3AEC-4649-9F4E-5AA2625E967A" } ] } ] } ], "references": [ { "url": "https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d", "source": "contact@wpscan.com", "tags": [ "Exploit", "Third Party Advisory" ] } ] }