OpenPLC ScadaBR
OpenPLC ScadaBR Unrestricted Upload of File with Dangerous Type Vulnerability
OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows remote authenticated users to upload and execute arbitrary JSP files via view_edit.shtm.
Timeline
Days relative to CVE publicationFirst public PoC 72 days before publication; added to CISA KEV 4.5 years after publication. First PoC: h3v0x/CVE-2021-26828_ScadaBR_RCE (created 31 Mar 2021, found by us: backfilled).
PoC repositories
Found on GitHub.5 PoCs · 1 pending
PoCs 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| h3v0x/CVE-2021-26828_ScadaBR_RCE | 31 Mar 2021 −72 d | 9 | PoC |
| hev0x/CVE-2021-26828_ScadaBR_RCE | 31 Mar 2021 −72 d | 9 | PoC |
| DeathRipper21/ScadaBRExplorer | 8 Dec 2023 +2.5 y | 0 | PoC |
| ridpath/CVE-2021-26828-Ultimate | 30 May 2025 +4.0 y | 5 | PoC |
| h002733/CVE-2021-26828 | 9 Oct 2026 +5.3 y | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Yuri08loveElaina/CVE-2021-26828 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 5 PoC reposGET /ScadaBR/uploads/{var}.jsp
- Query
ipaddress=port=Connect=Connect- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: en-US,en;q=0.5Upgrade-Insecure-Requests: 1- Ports
- 80, 8080
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0- Seen in
- 5 repos: DeathRipper21/ScadaBRExplorer, h002733/CVE-2021-26828, h3v0x/CVE-2021-26828_ScadaBR_RCE, hev0x/CVE-2021-26828_ScadaBR_RCE, ridpath/CVE-2021-26828-Ultimate
- Evidence
- DeathRipper21/ScadaBRExplorer/scadabrute.py:79 h002733/CVE-2021-26828/49735_corrected.py:194 h3v0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:90 h3v0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:87 hev0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:90 hev0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:87
GET /ScadaBR/view_edit.shtm
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: en-US,en;q=0.5Origin: http://{var}:{var}/Referer: http://{var}:{var}/ScadaBR/view_edit.shtmUpgrade-Insecure-Requests: 1- Content-Type
multipart/form-data; boundary=---------------------------32124376735876620811763441977- Ports
- 80, 8080
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0- Seen in
- 5 repos: DeathRipper21/ScadaBRExplorer, h002733/CVE-2021-26828, h3v0x/CVE-2021-26828_ScadaBR_RCE, hev0x/CVE-2021-26828_ScadaBR_RCE, ridpath/CVE-2021-26828-Ultimate
- Evidence
- DeathRipper21/ScadaBRExplorer/scadabrute.py:53 h002733/CVE-2021-26828/49735_corrected.py:61 h3v0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:62 h3v0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:100 h3v0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:61 h3v0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:100
POST /ScadaBR/login.htm
- Body markers
username=password=csrf_token=inapplication/x-www-form-urlencoded- Ports
- 80, 8080
- Seen in
- 5 repos: DeathRipper21/ScadaBRExplorer, h002733/CVE-2021-26828, h3v0x/CVE-2021-26828_ScadaBR_RCE, hev0x/CVE-2021-26828_ScadaBR_RCE, ridpath/CVE-2021-26828-Ultimate
- Evidence
- DeathRipper21/ScadaBRExplorer/scadabrute.py:17 h002733/CVE-2021-26828/49735_corrected.py:59 h3v0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:61 h3v0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:60 hev0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:61 hev0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:60
POST /ScadaBR/view_edit.shtm
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: en-US,en;q=0.5Origin: http://{var}:{var}/Referer: http://{var}:{var}/ScadaBR/view_edit.shtmUpgrade-Insecure-Requests: 1- Body markers
-----------------------------32124376735876620811763441977 Content-Disposition: form-data; name="view.name" -----------------------------------6150838712847095098536245849 Content-Disposition: form-data; name="view.name" -------name="view.name"name="view.xid"name="backgroundImageMP"name="upload"name="view.anonymousAccess"inmultipart/form-data; boundary=---------------------------32124376735876620811763441977- Ports
- 80, 8080
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0- Seen in
- 5 repos: DeathRipper21/ScadaBRExplorer, h002733/CVE-2021-26828, h3v0x/CVE-2021-26828_ScadaBR_RCE, hev0x/CVE-2021-26828_ScadaBR_RCE, ridpath/CVE-2021-26828-Ultimate
- Evidence
- DeathRipper21/ScadaBRExplorer/scadabrute.py:69 h002733/CVE-2021-26828/49735_corrected.py:179 h3v0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:77 h3v0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:75 hev0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:77 hev0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:75
GET /ScadaBR/login.htm
- Ports
- 80, 8080
- Seen in
- 1 repo: ridpath/CVE-2021-26828-Ultimate
- Evidence
- ridpath/CVE-2021-26828-Ultimate/scadaflare.py:218 ridpath/CVE-2021-26828-Ultimate/scadaflare.py:569
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/ScadaBR/uploads/[^/?#]*\.jsp\?(?:.*&)?ipaddress=.*port=.*Connect=Connect
(?i)^/ScadaBR/view_edit\.shtm(?:[?#].*)?$
(?i)^/ScadaBR/login\.htm(?:[?#].*)?$
(?i)^/ScadaBR/view_edit\.shtm(?:[?#].*)?$
(?i)^/ScadaBR/login\.htm(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-26828 OpenPLC ScadaBR exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ScadaBR/uploads/"; http.uri; content:".jsp"; http.uri; content:"ipaddress="; http.uri; content:"port="; http.uri; content:"Connect=Connect"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-26828; classtype:web-application-attack; sid:9730087; rev:1;)
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-26828 OpenPLC ScadaBR exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ScadaBR/view_edit.shtm"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Origin: http://"; nocase; http.header; content:"Referer: http://"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-26828; classtype:web-application-attack; sid:9594544; rev:1;)
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-26828 OpenPLC ScadaBR exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ScadaBR/login.htm"; http.request_body; content:"username="; http.request_body; content:"password="; http.request_body; content:"csrf_token="; reference:url,poc.griffinguard.io/cve/CVE-2021-26828; classtype:web-application-attack; sid:9841186; rev:1;)
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-26828 OpenPLC ScadaBR exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ScadaBR/view_edit.shtm"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Origin: http://"; nocase; http.header; content:"Referer: http://"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"-----------------------------32124376735876620811763441977 Content-Disposition: form-data|3b| name=|22|view.name|22| ------"; http.request_body; content:"-----------------------------6150838712847095098536245849 Content-Disposition: form-data|3b| name=|22|view.name|22| -------"; http.request_body; content:"name=|22|view.name|22|"; http.request_body; content:"name=|22|view.xid|22|"; http.request_body; content:"name=|22|backgroundImageMP|22|"; http.request_body; content:"name=|22|upload|22|"; http.request_body; content:"name=|22|view.anonymousAccess|22|"; reference:url,poc.griffinguard.io/cve/CVE-2021-26828; classtype:web-application-attack; sid:9662186; rev:1;)
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-26828 OpenPLC ScadaBR exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ScadaBR/login.htm"; reference:url,poc.griffinguard.io/cve/CVE-2021-26828; classtype:web-application-attack; sid:9612584; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: OpenPLC ScadaBR exploit attempt (CVE-2021-26828)
id: gg-pocmon-cve-2021-26828-9730087
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-26828. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-26828
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/ScadaBR/uploads/'
- '.jsp'
cs-uri-query|contains|all:
- 'ipaddress='
- 'port='
- 'Connect=Connect'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2021.26828
title: OpenPLC ScadaBR exploit attempt (CVE-2021-26828)
id: gg-pocmon-cve-2021-26828-9594544
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-26828. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-26828
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/ScadaBR/view_edit.shtm'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2021.26828
title: OpenPLC ScadaBR exploit attempt (CVE-2021-26828)
id: gg-pocmon-cve-2021-26828-9841186
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-26828. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-26828
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/ScadaBR/login.htm'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2021.26828
title: OpenPLC ScadaBR exploit attempt (CVE-2021-26828)
id: gg-pocmon-cve-2021-26828-9662186
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-26828. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-26828
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/ScadaBR/view_edit.shtm'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2021.26828
title: OpenPLC ScadaBR exploit attempt (CVE-2021-26828)
id: gg-pocmon-cve-2021-26828-9612584
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-26828. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-26828
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/ScadaBR/login.htm'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2021.26828