{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-5402 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-5402 is a high-severity code injection vulnerability in [UNKNOWN] cfme, published on 31 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-5402 and fix it if it is affected.\n\nWhat it is: CVE-2016-5402 is a high-severity code injection vulnerability in [UNKNOWN] cfme, published on 31 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-5402 in the wild and no public exploit code.\n\nAffected product: [UNKNOWN] cfme. 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-2016-5402/ (Markdown: https://insights.sbomify.com/CVE-2016-5402/index.md)","id":"CVE-2016-5402","markdown":"https://insights.sbomify.com/CVE-2016-5402/index.md","name":"CVE-2016-5402","record":{"aliases":["GHSA-6p9p-cwcr-3xj6","RHSA-2016:2839"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Red Hat CloudForms","requires_auth":"low_privilege","summary":"An authenticated attacker can execute arbitrary code by exploiting a code injection flaw in the capacity and utilization feature of Red Hat CloudForms.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cloudforms","vendor":"redhat"},{"product":"cloudforms_management_engine","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A code injection flaw was found in the way capacity and utilization imported control files are processed. A remote, authenticated attacker with access to the capacity and utilization feature could use this flaw to execute arbitrary code as the user CFME runs as.","ecosystems":["Red Hat:cloudforms_managementengine:5.6::el7"],"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":"Code injection in cfme","id":"CVE-2016-5402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2016"},"n_packages":11,"n_references":3,"next":{"headline":"Denial of service in n/a","id":"CVE-2016-5403"},"packages":[{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:5.6.3.3-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme","purl":"pkg:rpm/redhat/cfme","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:5.6.3.3-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-appliance","purl":"pkg:rpm/redhat/cfme-appliance","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:5.6.3.3-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-appliance-debuginfo","purl":"pkg:rpm/redhat/cfme-appliance-debuginfo","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:5.6.3.3-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-debuginfo","purl":"pkg:rpm/redhat/cfme-debuginfo","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:5.6.3.3-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-gemset","purl":"pkg:rpm/redhat/cfme-gemset","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:1.5.1-2.el7cf"],"introduced":["0"],"last_affected":[],"package":"freeipmi","purl":"pkg:rpm/redhat/freeipmi","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:1.5.1-2.el7cf"],"introduced":["0"],"last_affected":[],"package":"freeipmi-bmc-watchdog","purl":"pkg:rpm/redhat/freeipmi-bmc-watchdog","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:1.5.1-2.el7cf"],"introduced":["0"],"last_affected":[],"package":"freeipmi-debuginfo","purl":"pkg:rpm/redhat/freeipmi-debuginfo","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:1.5.1-2.el7cf"],"introduced":["0"],"last_affected":[],"package":"freeipmi-devel","purl":"pkg:rpm/redhat/freeipmi-devel","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:1.5.1-2.el7cf"],"introduced":["0"],"last_affected":[],"package":"freeipmi-ipmidetectd","purl":"pkg:rpm/redhat/freeipmi-ipmidetectd","source":"RHSA-2016:2839"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.6::el7","fixed":["0:1.5.1-2.el7cf"],"introduced":["0"],"last_affected":[],"package":"freeipmi-ipmiseld","purl":"pkg:rpm/redhat/freeipmi-ipmiseld","source":"RHSA-2016:2839"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2016-5401"},"products":["cfme"],"published":"2018-10-31","related":[{"cvss_score":9.1,"headline":"Auth bypass in CloudForms","id":"CVE-2020-14325","kev_date_added":null,"published":"2020-08-11"},{"cvss_score":8.8,"headline":"Cross-site request forgery in CFME","id":"CVE-2014-0197","kev_date_added":null,"published":"2019-12-13"},{"cvss_score":8.8,"headline":"Missing authorization in CFME","id":"CVE-2016-7071","kev_date_added":null,"published":"2018-09-10"},{"cvss_score":8.8,"headline":"Missing authorization in cfme","id":"CVE-2017-7530","kev_date_added":null,"published":"2018-07-26"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2016-4471","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2016-5383","kev_date_added":null,"published":"2016-08-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-06","vendors":["[UNKNOWN]"]},"summary":"An authenticated attacker can execute arbitrary code by exploiting a code injection flaw in the capacity and utilization feature of Red Hat CloudForms.","url":"https://insights.sbomify.com/CVE-2016-5402/"}