{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-7902 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7902 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7902 is a high-severity code injection vulnerability in Huawei Technologies Co., Ltd. 1288H V5; 2288H V5, published on 24 May 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-7902 and fix it if it is affected.\n\nWhat it is: CVE-2018-7902 is a high-severity code injection vulnerability in Huawei Technologies Co., Ltd. 1288H V5; 2288H V5, published on 24 May 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-7902 in the wild and no public exploit code.\n\nAffected product: Huawei Technologies Co., Ltd. 1288H V5; 2288H V5. 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-7902/ (Markdown: https://insights.sbomify.com/CVE-2018-7902/index.md)","id":"CVE-2018-7902","markdown":"https://insights.sbomify.com/CVE-2018-7902/index.md","name":"CVE-2018-7902","record":{"aliases":["GHSA-wxfj-8vv2-j8pq"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Huawei server firmware","requires_auth":"low_privilege","summary":"An authenticated attacker can inject JSON to modify the administrator password and gain system 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"}],"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":[],"description":"Huawei 1288H V5 and 288H V5 with software of V100R005C00 have a JSON injection vulnerability. An authenticated, remote attacker can launch a JSON injection to modify the password of administrator. Due to insufficient verification of the input, this could be exploited 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","id":"CVE-2018-7902","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":"Code injection in 1288H V5; 2288H V5","id":"CVE-2018-7903"},"packages":[],"prev":{"headline":"Security feature bypass in ALP-AL00B, BLA-AL00B","id":"CVE-2018-7901"},"products":["1288H V5; 2288H V5"],"published":"2018-05-24","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; 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","kev_date_added":null,"published":"2018-06-01"},{"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":"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":"An authenticated attacker can inject JSON to modify the administrator password and gain system management privileges on Huawei servers.","url":"https://insights.sbomify.com/CVE-2018-7902/"}