{"id":"CVE-2021-31630","published":"2021-08-03T14:50:46Z","modified":"2024-08-03T23:03:33Z","title":"Command Injection in Open PLC Webserver v3 allows remote attackers to execute arbitrary code via the \"Hardware Layer…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.26416,"percentile":0.98052,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.youtube.com/watch?v=l08DHB08Gow","tags":["x_refsource_MISC"]},{"url":"https://packetstormsecurity.com/files/162563/OpenPLC-WebServer-3-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.61},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":11,"skipped":1,"earliest":"2021-08-02","earliestUrl":"https://github.com/hev0x/CVE-2021-31630-OpenPLC_RCE","repos":[{"name":"thewhiteh4t/cve-2021-31630","url":"https://github.com/thewhiteh4t/cve-2021-31630","stars":22,"created":"2024-03-28"},{"name":"Hunt3r0x/CVE-2021-31630-HTB","url":"https://github.com/Hunt3r0x/CVE-2021-31630-HTB","stars":9,"created":"2024-03-20"},{"name":"machevalia/OpenPLC-CVE-2021-31630-RCE","url":"https://github.com/machevalia/OpenPLC-CVE-2021-31630-RCE","stars":3,"created":"2025-06-23"},{"name":"hev0x/CVE-2021-31630-OpenPLC_RCE","url":"https://github.com/hev0x/CVE-2021-31630-OpenPLC_RCE","stars":2,"created":"2021-08-02"},{"name":"adibna/cve-2021-31630","url":"https://github.com/adibna/cve-2021-31630","stars":1,"created":"2024-06-21"}]},"first":{"date":"2021-08-02","source":"PoC-in-GitHub","url":"https://github.com/hev0x/CVE-2021-31630-OpenPLC_RCE"},"provenance":"source"},"summary":{"text":"The flaw is a command injection vulnerability in the Hardware Layer Code Box component, found on the \"/hardware\" page of Open PLC Webserver v3. An attacker can use it to execute arbitrary code on the affected system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:25Z"},"euvd":{"id":"EUVD-2021-18519","exploited":false,"provenance":"source"},"exploitRefs":["https://packetstormsecurity.com/files/162563/OpenPLC-WebServer-3-Remote-Code-Execution.html"]}