Modicon M258 FirmwareOperating system · Schneider Electric

CVE-2020-28220

MEDIUM · 6.8 CVSS v3.1 Published 2020-12-11
Fix available
A fix is available. Upgrade to 5.0.4.11 or later.
See remediation →
70/100
Remediation priority · Elevated
Zero-click

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 · unedited
A CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability exists in Modicon M258 Firmware (All versions prior to V5.0.4.11) and SoMachine/SoMachine Motion software (All versions), that could cause a buffer overflow when the length of a file transferred to the webserver is not verified.

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 confidence

A buffer overflow vulnerability (CWE-119) exists in the webserver component of Modicon M258 Firmware (versions prior to V5.0.4.11) and SoMachine/SoMachine Motion software (all versions). The vulnerability is triggered when a file is transferred to the webserver without proper length validation, allowing an attacker to overwrite adjacent memory and potentially execute arbitrary code or cause denial of service.

MitigationUpdate Modicon M258 firmware to V5.0.4.11 or later. For SoMachine/SoMachine Motion, apply compensating controls such as network segmentation, firewall rules restricting webserver access, and input validation at network boundaries until a fix is available from Schneider Electric.

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 data
Modicon M258 FirmwareOperating system
Affected:< 5.0.4.11
SomachineApplication
Affected:all versions
Somachine MotionApplication
Affected:all versions

CVSS 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
Adjacent
Complexity
Low
Privileges
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:A/AC:L/PR:H/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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify the installed Schneider Electric product
    Determine if the system runs Modicon M258 controller, SoMachine, or SoMachine Motion software. Check product documentation, installed programs, or controller identity.
    Affected if The product is Modicon M258, SoMachine, or SoMachine Motion
  2. Check Modicon M258 firmware version
    Access the controller through EcoStruxure Machine Expert, Unity Pro, or the controller's web interface to retrieve the firmware version. Compare the version number to 5.0.4.11.
    Affected if Modicon M258 firmware version is below 5.0.4.11
  3. Verify if the webserver component is enabled
    Check the controller or software configuration to determine if the webserver feature is active. This may be in the controller settings, web server configuration, or network services list.
    Affected if The webserver component is enabled and accessible on the network
  4. Check network exposure of the webserver
    Review firewall rules, network segmentation, and access controls to determine if the webserver HTTP port (typically port 80/443) is exposed to untrusted networks or the internet.
    Affected if The webserver is reachable from untrusted network segments or directly from the internet
  5. Confirm file transfer capability is accessible
    Determine if the webserver file transfer/upload functionality is accessible to users or attackers. This may be tested by attempting to access the webserver upload endpoint or reviewing service configuration.
    Affected if File transfer/upload functionality on the webserver is accessible without additional authentication barriers beyond default settings

A system is affected if it runs Modicon M258 firmware below V5.0.4.11 (or any version of SoMachine/SoMachine Motion) AND has the webserver component enabled and network-accessible.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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.

From vendor data
Upgrade available Upgrade to 5.0.4.11 or later
Fixed in 5.0.4.11
Interim mitigation

Update Modicon M258 firmware to V5.0.4.11 or later. For SoMachine/SoMachine Motion, apply compensating controls such as network segmentation, firewall rules restricting webserver access, and input validation at network boundaries until a fix is available from Schneider Electric.

Fix this in Modicon M258 Firmware Scoped from the published advisory
  • Consultation8.0 h
  • Implementation12.0 h
  • Testing8.0 h
  • Review / QA4.0 h
32.0 hours of engineering $5,680
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $9,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2020-28220 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2020-28220 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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