LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31630: Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardw...

Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the "Hardware Layer Code Box" component on the "/hardware" page of the application.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

OpenPLC Webserver v3 had a command injection flaw in the Hardware Layer Code Box on the /hardware page. If reachable and exploitable, an attacker could run arbitrary code on the server. This is especially concerning where OpenPLC supports lab, industrial, or operational technology environments.

Executive priority

Treat exposed OpenPLC Webserver v3 instances as urgent. The business concern is not website defacement; it is potential code execution on systems that may support automation or control functions. Prioritize network containment and vendor-guidance review.

Technical view

CVE-2021-31630 is described as command injection in OpenPLC Webserver v3 through the Hardware Layer Code Box component on /hardware. The CVE record does not provide CVSS, CWE, fixed versions, authentication requirements, or detailed affected CPEs. Packet Storm references remote code execution material, but the bundle does not prove active exploitation.

Likely exposure

Exposure is most likely where OpenPLC Webserver v3 is deployed and the /hardware administration surface is reachable by untrusted users or networks. The source bundle does not define exact affected versions beyond v3 or whether authentication is required.

Exploitation context

The provided references include public remote-code-execution material, so defenders should assume proof-of-concept knowledge exists. The CVE is not marked KEV in the bundle, and no cited source here establishes active exploitation in the wild.

Researcher notes

Evidence is thin in the CVE record: no CVSS, CWE, CPEs, fixed release, or authentication details are provided. Do not assume affected versions beyond OpenPLC Webserver v3 from the supplied sources. Validate exposure and control reachability before assigning operational risk.

Mitigation direction

  • Restrict OpenPLC Webserver access to trusted management networks only.
  • Check OpenPLC vendor or project guidance for fixed versions or configuration mitigations.
  • Disable or tightly control access to hardware configuration features where operationally possible.
  • Review deployments for unnecessary internet or broad internal exposure.
  • Monitor the host for unexpected process execution or configuration changes.

Validation and detection

  • Inventory systems running OpenPLC Webserver v3.
  • Confirm whether /hardware is reachable from untrusted networks.
  • Review access controls around hardware configuration functions.
  • Check application and host logs for suspicious command execution indicators.
  • Document version, exposure path, compensating controls, and remediation status.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-31630 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.