From a92e0a750d6e1d85a731e7470f9eba3302f08af9 Mon Sep 17 00:00:00 2001 From: Robert Schultheis Date: Fri, 12 Jun 2020 09:46:59 -0600 Subject: [PATCH] add CVE-2020-4047 for GHSA-8q2w-5m27-wm27 --- 2020/4xxx/CVE-2020-4047.json | 138 +++++++++++++++++++++++++++++++++-- 1 file changed, 132 insertions(+), 6 deletions(-) diff --git a/2020/4xxx/CVE-2020-4047.json b/2020/4xxx/CVE-2020-4047.json index 1cd5a7b6f64..8e86f971d3d 100644 --- a/2020/4xxx/CVE-2020-4047.json +++ b/2020/4xxx/CVE-2020-4047.json @@ -1,18 +1,144 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-4047", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Authenticated XSS via media attachment page in WordPress" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "wordpress-develop", + "version": { + "version_data": [ + { + "version_value": ">= 5.4.0, < 5.4.2" + }, + { + "version_value": ">= 5.3.0, < 5.3.4" + }, + { + "version_value": ">= 5.2.0, < 5.2.7" + }, + { + "version_value": ">= 5.1.0, < 5.1.6" + }, + { + "version_value": ">= 5.0.0, < 5.0.10" + }, + { + "version_value": ">= 4.9.0, < 4.9.15" + }, + { + "version_value": ">= 4.8.0, < 4.8.14" + }, + { + "version_value": ">= 4.7.0, < 4.7.18" + }, + { + "version_value": ">= 4.6.0, < 4.6.19" + }, + { + "version_value": ">= 4.5.0, < 4.5.22" + }, + { + "version_value": ">= 4.4.0, < 4.4.23" + }, + { + "version_value": ">= 4.3.0, < 4.3.24" + }, + { + "version_value": ">= 4.2.0, < 4.2.28" + }, + { + "version_value": ">= 4.1.0, < 4.1.31" + }, + { + "version_value": ">= 4.0.0, < 4.0.31" + }, + { + "version_value": ">= 3.9.0, < 3.9.32" + }, + { + "version_value": ">= 3.8.0, < 3.8.34" + }, + { + "version_value": ">= 3.7.0, < 3.7.34" + } + ] + } + } + ] + }, + "vendor_name": "WordPress" + } + ] + } + }, + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them.\n\nThis has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34)." } ] + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "NETWORK", + "availabilityImpact": "NONE", + "baseScore": 6.8, + "baseSeverity": "MEDIUM", + "confidentialityImpact": "NONE", + "integrityImpact": "HIGH", + "privilegesRequired": "LOW", + "scope": "CHANGED", + "userInteraction": "REQUIRED", + "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27", + "refsource": "CONFIRM", + "url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27" + }, + { + "name": "https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f", + "refsource": "MISC", + "url": "https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f" + }, + { + "name": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/", + "refsource": "MISC", + "url": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/" + } + ] + }, + "source": { + "advisory": "GHSA-8q2w-5m27-wm27", + "discovery": "UNKNOWN" } } \ No newline at end of file