{"answers":{"affected":"It affects 20 products.","exploited":"There is no known exploitation of CVE-2018-7951 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7951 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7951 is a high-severity code injection vulnerability in Huawei Technologies Co., Ltd. 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3, published on 1 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7951 and fix it if it is affected.\n\nWhat it is: CVE-2018-7951 is a high-severity code injection vulnerability in Huawei Technologies Co., Ltd. 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3, published on 1 Jun 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-2018-7951 in the wild and no public exploit code.\n\nAffected product: Huawei Technologies Co., Ltd. 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3. 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-2018-7951/ (Markdown: https://insights.sbomify.com/CVE-2018-7951/index.md)","id":"CVE-2018-7951","markdown":"https://insights.sbomify.com/CVE-2018-7951/index.md","name":"CVE-2018-7951","record":{"aliases":["GHSA-c445-2cgq-9843"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Huawei iBMC","requires_auth":"low_privilege","summary":"Authenticated attackers can inject JSON to modify administrator passwords and gain management privileges on Huawei servers.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"1288h_v5_firmware","vendor":"huawei"},{"product":"2288h_v5_firmware","vendor":"huawei"},{"product":"2488_v5_firmware","vendor":"huawei"},{"product":"ch121_v3_firmware","vendor":"huawei"},{"product":"ch121_v5_firmware","vendor":"huawei"},{"product":"ch121l_v3_firmware","vendor":"huawei"},{"product":"ch121l_v5_firmware","vendor":"huawei"},{"product":"ch140_v3_firmware","vendor":"huawei"},{"product":"ch140l_v3_firmware","vendor":"huawei"},{"product":"ch220_v3_firmware","vendor":"huawei"},{"product":"ch222_v3_firmware","vendor":"huawei"},{"product":"ch242_v3_firmware","vendor":"huawei"},{"product":"ch242_v5_firmware","vendor":"huawei"},{"product":"rh1288_v3_firmware","vendor":"huawei"},{"product":"rh2288_v3_firmware","vendor":"huawei"},{"product":"rh2288h_v3_firmware","vendor":"huawei"},{"product":"xh310_v3_firmware","vendor":"huawei"},{"product":"xh321_v3_firmware","vendor":"huawei"},{"product":"xh321_v5_firmware","vendor":"huawei"},{"product":"xh620_v3_firmware","vendor":"huawei"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","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":"The iBMC (Intelligent Baseboard Management Controller) of some Huawei servers have a JSON injection vulnerability due to insufficient input validation. An authenticated, remote attacker can launch a JSON injection to modify the password of administrator. Successful exploit may allow attackers to obtain the management privilege of the system.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3","id":"CVE-2018-7951","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2018-7955"},"packages":[],"prev":{"headline":"Code injection in 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3","id":"CVE-2018-7950"},"products":["1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3"],"published":"2018-06-01","related":[{"cvss_score":8.8,"headline":"Auth bypass in 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3","id":"CVE-2018-7943","kev_date_added":null,"published":"2018-06-05"},{"cvss_score":8.8,"headline":"Privilege escalation in 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3","id":"CVE-2018-7949","kev_date_added":null,"published":"2018-06-01"},{"cvss_score":8.8,"headline":"Code injection in 1288H V5; 2288H V5; 2488 V5 ; CH121 V3; CH121L V3; CH121L V5 ; CH121 V5 ; CH140 V3; CH140L V3; CH220 V3; CH222 V3; CH242 V3; CH242 V5 ; RH1288 V3; RH2288 V3; RH2288H V3; XH310 V3; XH321 V3; XH321 V5; XH620 V3","id":"CVE-2018-7950","kev_date_added":null,"published":"2018-06-01"},{"cvss_score":8.8,"headline":"Code injection in 1288H V5; 2288H V5","id":"CVE-2018-7902","kev_date_added":null,"published":"2018-05-24"},{"cvss_score":8.8,"headline":"Code injection in 1288H V5; 2288H V5","id":"CVE-2018-7903","kev_date_added":null,"published":"2018-05-24"},{"cvss_score":8.8,"headline":"Code injection in 1288H V5; 2288H V5","id":"CVE-2018-7904","kev_date_added":null,"published":"2018-05-24"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Huawei Technologies Co., Ltd."]},"summary":"Authenticated attackers can inject JSON to modify administrator passwords and gain management privileges on Huawei servers.","url":"https://insights.sbomify.com/CVE-2018-7951/"}