PoC Monitor
← All CVEs
CVE-2021-26828published 11 Jun 2021 11:10 UTCData: JSON · API

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.

First public PoC 72 days beforebefore publication · 31 Mar 2021
Public PoCs55 on GitHub
CVSS8.8high · scored by CISA ADP · CWE-434
CISA KEV 3 Dec 20254.5 years after publication

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 yFirst public PoC31 Mar 2021 · t−72dCVE published11 Jun 2021 · t = 0Added to CISA KEV3 Dec 2025 · t+4.5y

First 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
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
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 repos

GET /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.8 Accept-Language: en-US,en;q=0.5 Upgrade-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.8 Accept-Language: en-US,en;q=0.5 Origin: http://{var}:{var}/ Referer: http://{var}:{var}/ScadaBR/view_edit.shtm Upgrade-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/view_edit.shtm

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Origin: http://{var}:{var}/ Referer: http://{var}:{var}/ScadaBR/view_edit.shtm Upgrade-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" in 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: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

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /ScadaBR/uploads/{var}.jsp
(?i)^/ScadaBR/uploads/[^/?#]*\.jsp\?(?:.*&)?ipaddress=.*port=.*Connect=Connect
GET /ScadaBR/view_edit.shtm
(?i)^/ScadaBR/view_edit\.shtm(?:[?#].*)?$
POST /ScadaBR/login.htm
(?i)^/ScadaBR/login\.htm(?:[?#].*)?$
POST /ScadaBR/view_edit.shtm
(?i)^/ScadaBR/view_edit\.shtm(?:[?#].*)?$
GET /ScadaBR/login.htm
(?i)^/ScadaBR/login\.htm(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /ScadaBR/uploads/{var}.jsp
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;)
GET /ScadaBR/view_edit.shtm
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;)
POST /ScadaBR/login.htm
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;)
POST /ScadaBR/view_edit.shtm
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;)
GET /ScadaBR/login.htm
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.

GET /ScadaBR/uploads/{var}.jsp
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
GET /ScadaBR/view_edit.shtm
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
POST /ScadaBR/login.htm
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
POST /ScadaBR/view_edit.shtm
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
GET /ScadaBR/login.htm
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