{"answers":{"affected":"2 open source packages ship an affected version, including tribalsystems/zenario. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-42171 in the wild and no public exploit code.","fix":"Upgrade tribalsystems/zenario to 9.0.55143 or later.","what":"CVE-2021-42171 is a high-severity vulnerability in n/a, published on 14 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-42171 and fix it if it is affected.\n\nWhat it is: CVE-2021-42171 is a high-severity vulnerability in n/a, published on 14 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-42171 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tribalsystems/zenario (Packagist): affected all versions; fixed in 9.0.55143\n- tribalsystems/zenario (Packagist): affected all versions; fixed in 9.0.55143\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-42171/ (Markdown: https://insights.sbomify.com/CVE-2021-42171/index.md)","id":"CVE-2021-42171","markdown":"https://insights.sbomify.com/CVE-2021-42171/index.md","name":"CVE-2021-42171","record":{"aliases":["GHSA-rgg3-3wh7-w935"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Zenario CMS","requires_auth":"high_privilege","summary":"Attackers can upload malicious files to Zenario CMS to execute arbitrary code and compromise the web server.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zenario","vendor":"tribalsystems"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Zenario CMS 9.0.54156 is vulnerable to File Upload. The web server can be compromised by uploading and executing a web-shell which can run commands, browse system files, browse local resources, attack other servers, and exploit the local vulnerabilities, and so forth.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2021-09-30","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-09-30T02:44:19Z","kind":"github_poc","ref":"https://github.com/minhnq22/CVE-2021-42171","stars":0,"title":"File upload to Remote Code Execution on Zenario CMS 9.0.54156"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Unrestricted Upload of File with Dangerous Type in Zenario CMS","id":"CVE-2021-42171","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2021"},"n_packages":2,"n_references":3,"next":{"headline":"Path traversal in n/a","id":"CVE-2021-42183"},"packages":[{"ecosystem":"Packagist","fixed":["9.0.55143"],"introduced":["0"],"last_affected":[],"package":"tribalsystems/zenario","purl":null,"source":"GHSA-rgg3-3wh7-w935"},{"ecosystem":"Packagist","fixed":["9.0.55143"],"introduced":["0"],"last_affected":[],"package":"tribalsystems/zenario","purl":"pkg:composer/tribalsystems/zenario","source":"GHSA-rgg3-3wh7-w935"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2021-42169"},"products":["n/a"],"published":"2022-03-14","related":[{"cvss_score":9.8,"headline":"Zenario CMS is vulnerable to Remote Code Execution (RCE).","id":"CVE-2022-44136","kev_date_added":null,"published":"2022-11-30"},{"cvss_score":9.1,"headline":"SQL Injection in tribalsystems/zenario","id":"CVE-2021-26830","kev_date_added":null,"published":"2021-04-16"},{"cvss_score":8.8,"headline":"Zenario CMS vulnerable to CSRF","id":"CVE-2018-18420","kev_date_added":null,"published":"2018-10-19"},{"cvss_score":8.8,"headline":"SQL Injection in Zenario 7.1-7.6","id":"CVE-2018-5960","kev_date_added":null,"published":"2018-01-22"},{"cvss_score":7.2,"headline":"File upload restriction bypass in Zenario CMS","id":"CVE-2022-23043","kev_date_added":null,"published":"2022-02-22"},{"cvss_score":5.4,"headline":"Zenario CMS Cross-site Scripting vulnerability","id":"CVE-2023-44769","kev_date_added":null,"published":"2023-10-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can upload malicious files to Zenario CMS to execute arbitrary code and compromise the web server.","url":"https://insights.sbomify.com/CVE-2021-42171/"}