CVE-2023-3331 Path traversal in Aterm WF300HP

Medium 5.4 Published Updated

Attackers can delete specific files on NEC Aterm routers due to improper pathname limitation, requiring vendor patches.

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

What is CVE-2023-3331?

CVE-2023-3331 is a medium-severity path traversal vulnerability in NEC Corporation Aterm WF300HP, published on 28 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Limitation of a Pathname to a Restricted Directory vulnerability in NEC Corporation Aterm Aterm WG2600HP2, WG2600HP, WG2200HP, WG1800HP2, WG1800HP, WG1400HP, WG600HP, WG300HP, WF300HP, WR9500N, WR9300N, WR8750N, WR8700N, WR8600N, WR8370N, WR8175N and WR8170N all versions allows a attacker to delete

specific files in the product.

Weakness: CWE-22

Which versions are affected by CVE-2023-3331?

It affects 17 products.

Products include Nec Aterm Wf300hp Firmware, Nec Aterm Wg1400hp Firmware, Nec Aterm Wg1800hp2 Firmware, Nec Aterm Wg1800hp Firmware, Nec Aterm Wg2200hp Firmware, Nec Aterm Wg2600hp2 Firmware and 11 more.

How do I fix CVE-2023-3331?

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

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

Sources

Also known as GHSA-rwv8-j25h-rxjw.

Is CVE-2023-3331 in your software?

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

Check your SBOMs for free