{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6946 exists.","fix":"No fix has been published for CVE-2024-6946 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6946 is a medium-severity code injection vulnerability in Flute CMS, published on 21 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6946 and fix it if it is affected.\n\nWhat it is: CVE-2024-6946 is a medium-severity code injection vulnerability in Flute CMS, published on 21 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6946 exists.\n\nAffected product: Flute CMS. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-6946/ (Markdown: https://insights.sbomify.com/CVE-2024-6946/index.md)","id":"CVE-2024-6946","markdown":"https://insights.sbomify.com/CVE-2024-6946/index.md","name":"CVE-2024-6946","record":{"aliases":["GHSA-v68m-9hmp-qv6m"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Flute CMS","requires_auth":"high_privilege","summary":"Remote attackers with permissions can inject code via the blocks argument in Flute CMS admin pages, leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"flute","vendor":"flute-cms"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A vulnerability was found in Flute CMS 0.2.2.4-alpha. It has been declared as critical. This vulnerability affects unknown code of the file /admin/pages/list. The manipulation of the argument blocks leads to code injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-272068.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Flute CMS list code injection","id":"CVE-2024-6946","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"Flute CMS Notification ContentParser.php replaceContent code injection","id":"CVE-2024-6947"},"packages":[],"prev":{"headline":"Flute CMS Avatar Upload Page ImagesController.php unrestricted upload","id":"CVE-2024-6945"},"products":["CMS"],"published":"2024-07-21","related":[{"cvss_score":5.3,"headline":"Flute CMS Avatar Upload Page ImagesController.php unrestricted upload","id":"CVE-2024-6945","kev_date_added":null,"published":"2024-07-21"},{"cvss_score":5.1,"headline":"Flute CMS Notification ContentParser.php replaceContent code injection","id":"CVE-2024-6947","kev_date_added":null,"published":"2024-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Flute"]},"summary":"Remote attackers with permissions can inject code via the blocks argument in Flute CMS admin pages, leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2024-6946/"}