CVE-2018-18472 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands as root on WD My Book Live devices via shell metacharacters in the language configuration 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-2018-18472?

CVE-2018-18472 is a critical command injection vulnerability in n/a, published on 19 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Western Digital WD My Book Live and WD My Book Live Duo (all versions) have a root Remote Command Execution bug via shell metacharacters in the /api/1.0/rest/language_configuration language parameter. It can be triggered by anyone who knows the IP address of the affected device, as exploited in the wild in June 2021 for factory reset commands,

Weakness: CWE-78

Which versions are affected by CVE-2018-18472?

It affects 1 product.

Products include Westerndigital My Book Live Firmware.

How do I fix CVE-2018-18472?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-18472 being exploited?

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

Sources

Also known as GHSA-gjqh-4gc9-vchf.

Is CVE-2018-18472 in your software?

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

Check your SBOMs for free