CVE-2023-5142 H3C ER6300G2 Config File userLogin.asp path traversal

Low 3.7 Published Updated

Remote attackers can exploit a path traversal vulnerability in H3C routers to read arbitrary files from the device.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-5142?

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.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2023-5142?

It affects 15 products.

Products include H3c Er2100n Firmware, H3c Er2200g2 Firmware, H3c Er3200g2 Firmware, H3c Er3260g2 Firmware, H3c Er5100g2 Firmware, H3c Er5200g2 Firmware and 9 more.

How do I fix CVE-2023-5142?

No fix has been published for CVE-2023-5142 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-5142 being exploited?

There is no known exploitation of CVE-2023-5142 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cmhm-c9j2-c4m6.

Is CVE-2023-5142 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free