{"answers":{"affected":"It affects 15 products.","exploited":"There is no known exploitation of CVE-2023-5142 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-5142 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-5142 is a low-severity path traversal vulnerability in H3C ER2100n, published on 24 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5142 and fix it if it is affected.\n\nWhat it is: CVE-2023-5142 is a low-severity path traversal vulnerability in H3C ER2100n, published on 24 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-5142 in the wild and no public exploit code.\n\nAffected product: H3C ER2100n. 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-2023-5142/ (Markdown: https://insights.sbomify.com/CVE-2023-5142/index.md)","id":"CVE-2023-5142","markdown":"https://insights.sbomify.com/CVE-2023-5142/index.md","name":"CVE-2023-5142","record":{"aliases":["GHSA-cmhm-c9j2-c4m6"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"H3C router firmware","requires_auth":"none","summary":"Remote attackers can exploit a path traversal vulnerability in H3C routers to read arbitrary files from the device.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"er2100n_firmware","vendor":"h3c"},{"product":"er2200g2_firmware","vendor":"h3c"},{"product":"er3200g2_firmware","vendor":"h3c"},{"product":"er3260g2_firmware","vendor":"h3c"},{"product":"er5100g2_firmware","vendor":"h3c"},{"product":"er5200g2_firmware","vendor":"h3c"},{"product":"er6300g2_firmware","vendor":"h3c"},{"product":"gr-1100-p_firmware","vendor":"h3c"},{"product":"gr-1108-p_firmware","vendor":"h3c"},{"product":"gr-1200w_firmware","vendor":"h3c"},{"product":"gr-1800ax_firmware","vendor":"h3c"},{"product":"gr-2200_firmware","vendor":"h3c"},{"product":"gr-3200_firmware","vendor":"h3c"},{"product":"gr-5200_firmware","vendor":"h3c"},{"product":"gr-8300_firmware","vendor":"h3c"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A vulnerability classified as problematic was found in H3C GR-1100-P, GR-1108-P, GR-1200W, GR-1800AX, GR-2200, GR-3200, GR-5200, GR-8300, ER2100n, ER2200G2, ER3200G2, ER3260G2, ER5100G2, ER5200G2 and ER6300G2 up to 20230908. This vulnerability affects unknown code of the file /userLogin.asp of the component Config File Handler. The manipulation leads to path traversal. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. VDB-240238 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-10-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-10-19T10:09:47Z","kind":"github_poc","ref":"https://github.com/kuangxiaotu/CVE-H3C-Report","stars":0,"title":"CVE-2023-5142"}],"tier":"poc_unverified"},"has_fix":null,"headline":"H3C ER6300G2 Config File userLogin.asp path traversal","id":"CVE-2023-5142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"D-Link DAR-7000 webmailattach.php Privilege Escalation","id":"CVE-2023-5143"},"packages":[],"prev":{"headline":"BSK Contact Form 7 Blacklist \u003c= 1.0.1 - Reflected Cross-Site Scripting","id":"CVE-2023-5141"},"products":["ER2100n","ER2200G2","ER3200G2","ER3260G2","ER5100G2","ER5200G2","ER6300G2","GR-1100-P","GR-1108-P","GR-1200W","GR-1800AX","GR-2200","GR-3200","GR-5200","GR-8300"],"published":"2023-09-24","related":[],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["H3C"]},"summary":"Remote attackers can exploit a path traversal vulnerability in H3C routers to read arbitrary files from the device.","url":"https://insights.sbomify.com/CVE-2023-5142/"}