CVE-2020-18331 Path traversal in n/a

Critical 9.1 Published Updated

Attackers can exploit a directory traversal flaw in the ChinaMobile PLC Wireless Router to read arbitrary files via the getpage parameter.

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-2020-18331?

CVE-2020-18331 is a critical path traversal vulnerability in n/a, published on 25 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in ChinaMobile PLC Wireless Router model GPN2.4P21-C-CN running the firmware version W2000EN-01(hardware platform Gpn2.4P21-C_WIFI-V0.05), via the getpage parameter to /cgi-bin/webproc.

Weakness: CWE-22

Which versions are affected by CVE-2020-18331?

It affects 1 product.

Products include Chinamobileltd Gpn2.4p21-C-Cn Firmware.

How do I fix CVE-2020-18331?

No fix has been published for CVE-2020-18331 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-2020-18331 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-18331 exists.

Sources

Also known as GHSA-w48q-2q3f-h2f8.

Is CVE-2020-18331 in your software?

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

Check your SBOMs for free