{ "id": "CVE-2021-24171", "sourceIdentifier": "contact@wpscan.com", "published": "2021-04-05T19:15:15.857", "lastModified": "2022-10-24T17:15:39.613", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "The WooCommerce Upload Files WordPress plugin before 59.4 ran a single sanitization pass to remove blocked extensions such as .php. It was possible to bypass this and upload a file with a PHP extension by embedding a \"blocked\" extension within another \"blocked\" extension in the \"wcuf_file_name\" parameter. It was also possible to perform a double extension attack and upload files to a different location via path traversal using the \"wcuf_current_upload_session_id\" parameter." }, { "lang": "es", "value": "El plugin de WordPress WooCommerce Upload Files versiones anteriores a 59.4 ejecut\u00f3 una sola pasada de saneamiento para eliminar extensiones bloqueadas como .php. Era posible omitir esto y cargar un archivo con una extensi\u00f3n PHP insertando una extensi\u00f3n \"blocked\" dentro de otra extensi\u00f3n \"blocked\" en el par\u00e1metro \"wcuf_file_name\". Tambi\u00e9n fue posible llevar a cabo un ataque de extensi\u00f3n doble y subir archivos a una ubicaci\u00f3n diferente por medio del salto de ruta usando el par\u00e1metro \"wcuf_current_upload_session_id\"" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-434" } ] }, { "source": "contact@wpscan.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-434" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:woocommerce:upload_files:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "59.4", "matchCriteriaId": "F831DE61-993F-4551-845C-07A1EFCF6386" } ] } ] } ], "references": [ { "url": "https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194", "source": "contact@wpscan.com", "tags": [ "Third Party Advisory" ] }, { "url": "https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/", "source": "contact@wpscan.com", "tags": [ "Third Party Advisory" ] } ] }