CVE-2018-18472
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWestern 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,
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCommand injection vulnerability in WD My Book Live/Duo NAS devices allows unauthenticated remote attackers to execute arbitrary root commands via shell metacharacters in the language parameter of the /api/1.0/rest/language_configuration API endpoint. The flaw requires no authentication and has been actively exploited in the wild.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the device modelAccess the device's web interface or check the physical label to confirm the model is Western Digital My Book Live or My Book DuoAffected if The device is a WD My Book Live or My Book Duo NAS
-
Confirm device firmware versionLog into the device admin interface and navigate to Settings > About or check the firmware version via the web UI footerAffected if Any firmware version is installed (all versions are affected)
-
Check if the vulnerable API endpoint is reachableSend an HTTP GET request to http://<device-ip>/api/1.0/rest/language_configuration without any authentication credentialsAffected if The endpoint returns an HTTP 200 response with language configuration data, indicating the API is exposed
-
Verify command injection is possibleSend a POST request to /api/1.0/rest/language_configuration with a test payload containing shell metacharacters in the language parameter (e.g., language=english;ls) and observe if the command executesAffected if The response contains output from the injected command or the device exhibits unexpected behavior indicating command execution
If you have a WD My Book Live or Duo device with any firmware version and the /api/1.0/rest/language_configuration endpoint is accessible without authentication, your device is affected by this command injection vulnerability.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedIf no vendor firmware patch is available, isolate affected devices on a restricted network segment or replace with supported hardware; implement WAF rules to block /api/1.0/rest/language_configuration requests with shell metacharacters.
The WD My Book Live product line was discontinued and has no successor firmware with security patches. Replace with a currently supported NAS device from Western Digital (e.g., WD Red series with current firmware) or another vendor.
- 1. Isolate the affected device from the internet or untrusted networks immediately since no firmware patch is available.
- 2. If the device is still in production use, consider migrating data to a supported storage device.
- 3. Monitor the device for any suspicious activity, particularly unexpected factory reset commands.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,880.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-18472 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-18472 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data