{ "id": "CVE-2022-32114", "sourceIdentifier": "cve@mitre.org", "published": "2022-07-13T21:15:08.083", "lastModified": "2024-11-21T07:05:47.067", "vulnStatus": "Modified", "cveTags": [ { "sourceIdentifier": "cve@mitre.org", "tags": [ "disputed" ] } ], "descriptions": [ { "lang": "en", "value": "An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XSS attacks via a crafted PDF file. NOTE: the project documentation suggests that a user with the Media Library \"Create (upload)\" permission is supposed to be able to upload PDF files containing JavaScript, and that all files in a public assets folder are accessible to the outside world (unless the filename begins with a dot character). The administrator can choose to allow only image, video, and audio files (i.e., not PDF) if desired." }, { "lang": "es", "value": "Una vulnerabilidad de carga de archivos sin restricciones en la funci\u00f3n Add New Assets de Strapi versi\u00f3n v4.1.12, permite a atacantes ejecutar c\u00f3digo arbitrario por medio de un archivo dise\u00f1ado" } ], "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", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "baseScore": 6.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL" }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.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" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:strapi:strapi:4.1.12:-:*:*:*:*:*:*", "matchCriteriaId": "8EE98C5E-5CB7-48DF-B229-7078A54130C6" } ] } ] } ], "references": [ { "url": "https://docs.strapi.io/dev-docs/configurations/public-assets", "source": "cve@mitre.org" }, { "url": "https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles", "source": "cve@mitre.org" }, { "url": "https://github.com/bypazs/strapi", "source": "cve@mitre.org", "tags": [ "Product" ] }, { "url": "https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14", "source": "cve@mitre.org" }, { "url": "https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33", "source": "cve@mitre.org" }, { "url": "https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e", "source": "cve@mitre.org", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://docs.strapi.io/dev-docs/configurations/public-assets", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://github.com/bypazs/strapi", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Product" ] }, { "url": "https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Third Party Advisory" ] } ] }