{"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-2022-23043 in the wild and no public exploit code.","fix":"Upgrade tribalsystems/zenario to 9.2.55826 or later.","what":"CVE-2022-23043 is a high-severity vulnerability in Zenario CMS, published on 22 Feb 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23043 and fix it if it is affected.\n\nWhat it is: CVE-2022-23043 is a high-severity vulnerability in Zenario CMS, published on 22 Feb 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23043 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tribalsystems/zenario (Packagist): affected all versions; fixed in 9.2.55826\n- tribalsystems/zenario (Packagist): affected all versions; fixed in 9.2.55826\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-2022-23043/ (Markdown: https://insights.sbomify.com/CVE-2022-23043/index.md)","id":"CVE-2022-23043","markdown":"https://insights.sbomify.com/CVE-2022-23043/index.md","name":"CVE-2022-23043","record":{"aliases":["GHSA-6r86-2jm9-9mh4"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Zenario CMS","requires_auth":"high_privilege","summary":"Authenticated admins can bypass file upload restrictions to upload malicious .phar files, enabling remote code execution on the server.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Fluid Attacks","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.2 allows an authenticated admin user to bypass the file upload restriction by creating a new 'File/MIME Types' using the '.phar' extension. Then an attacker can upload a malicious file, intercept the request and change the extension to '.phar' in order to run commands on the server.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"File upload restriction bypass in Zenario CMS","id":"CVE-2022-23043","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Cross-site request forgery in Tiny File Manager","id":"CVE-2022-23044"},"packages":[{"ecosystem":"Packagist","fixed":["9.2.55826"],"introduced":["0"],"last_affected":[],"package":"tribalsystems/zenario","purl":null,"source":"GHSA-6r86-2jm9-9mh4"},{"ecosystem":"Packagist","fixed":["9.2.55826"],"introduced":["0"],"last_affected":[],"package":"tribalsystems/zenario","purl":"pkg:composer/tribalsystems/zenario","source":"GHSA-6r86-2jm9-9mh4"}],"prev":{"headline":"Race condition in unspecified","id":"CVE-2022-23042"},"products":["Zenario CMS"],"published":"2022-02-22","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":"Unrestricted Upload of File with Dangerous Type in Zenario CMS","id":"CVE-2021-42171","kev_date_added":null,"published":"2022-03-14"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Authenticated admins can bypass file upload restrictions to upload malicious .phar files, enabling remote code execution on the server.","url":"https://insights.sbomify.com/CVE-2022-23043/"}