CVE-2021-26829 Sumo Logic CSE · Sumo

Detect OpenPLC ScadaBR Cross-Site Scripting (XSS) Exploitation Detected in Sumo Logic CSE

Detects exploitation attempts targeting CVE-2021-26829, a stored or reflected cross-site scripting vulnerability in OpenPLC ScadaBR. ScadaBR is a SCADA/HMI platform used in industrial control environments. Successful exploitation allows attackers to inject malicious scripts into the web interface, potentially enabling session hijacking, credential theft, or lateral movement within OT/ICS environments. This CVE is listed on CISA's Known Exploited Vulnerabilities catalog.

MITRE ATT&CK

Tactic
Initial Access Credential Access Lateral Movement

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=web/access OR _sourceCategory=network/proxy OR _sourceCategory=ics/web
| parse "* * * \"* *?*\" * *" as client_ip, ident, auth_user, method, uri_path, query_string, status_code, bytes nodrop
| where uri_path matches "*ScadaBR*" or uri_path matches "*scada*"
| where 
    query_string matches "*<script*" or
    query_string matches "*javascript:*" or
    query_string matches "*onerror=*" or
    query_string matches "*onload=*" or
    query_string matches "*alert(*" or
    query_string matches "*document.cookie*" or
    query_string matches "*<img*" or
    query_string matches "*<svg*"
| withtime _messagetime
| eval cve = "CVE-2021-26829"
| eval attack_category = "XSS-ICS-SCADA"
| count by client_ip, uri_path, method, status_code, cve, attack_category
| sort by _count desc
| fields client_ip, uri_path, method, status_code, _count, cve, attack_category
high severity medium confidence

Sumo Logic query parsing web access logs for ScadaBR URI paths with XSS payload indicators in query strings. Groups results by source IP to identify scanning or exploitation patterns.

Data Sources

Web access logsProxy logsICS web server logs

False Positives & Tuning

  • Scheduled vulnerability scans executed by internal security teams against ScadaBR installations
  • Browser auto-complete or cached URL entries submitting previously used payloads from test sessions
  • Third-party integrations sending data with special characters through ScadaBR web endpoints
  • Fuzzing tools running authorized input validation tests on the ScadaBR interface

Other platforms for CVE-2021-26829


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Reflected XSS Probe via ScadaBR Search Parameter

    Expected signal: Web server access log entry with URI containing '<script>alert(document.cookie)</script>' and HTTP response code (200 if reflected, 400/500 if filtered). WAF logs should show XSS rule match.

  2. Test 2Stored XSS via ScadaBR Watchlist Name Field

    Expected signal: POST request in web access logs to ScadaBR watchList endpoint with body containing XSS payload. Subsequent GET requests loading the watchlist page will serve the stored payload to other authenticated users.

  3. Test 3Session Cookie Exfiltration Simulation via XSS

    Expected signal: Outbound HTTP GET request from the ScadaBR operator's browser/host to the attacker's listener IP on port 8888 with the session cookie in the query parameter. Network flow logs should show the lateral connection from the OT network to the attacker IP.

  4. Test 4ScadaBR XSS via HTTP Referrer Header Injection

    Expected signal: HTTP access log entry showing the malicious Referer header value. If ScadaBR reflects the Referer in error pages or breadcrumbs, the response body will contain the injected script tag.

Last updated: 2026-06-19 Research depth: standard
References (2)

Unlock Pro Content

Get the full detection package for CVE-2021-26829 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections