{
  "id": "CVE-2021-26828",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-26828",
  "published_at": "2021-06-11T11:10:58Z",
  "title": "OpenPLC ScadaBR Unrestricted Upload of File with Dangerous Type Vulnerability",
  "vendor": "OpenPLC",
  "product": "ScadaBR",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-12-03",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1636
  },
  "first_poc": {
    "created_at": "2021-03-31T02:39:02Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -72.4,
    "repo": "h3v0x/CVE-2021-26828_ScadaBR_RCE",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-434",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "Yuri08loveElaina/CVE-2021-26828",
      "url": "https://github.com/Yuri08loveElaina/CVE-2021-26828",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "h3v0x/CVE-2021-26828_ScadaBR_RCE",
      "url": "https://github.com/h3v0x/CVE-2021-26828_ScadaBR_RCE",
      "created_at": "2021-03-31T02:39:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 9,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-12-26T17:16:37Z"
    },
    {
      "repo": "hev0x/CVE-2021-26828_ScadaBR_RCE",
      "url": "https://github.com/hev0x/CVE-2021-26828_ScadaBR_RCE",
      "created_at": "2021-03-31T02:39:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 9,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-12-26T17:16:37Z"
    },
    {
      "repo": "DeathRipper21/ScadaBRExplorer",
      "url": "https://github.com/DeathRipper21/ScadaBRExplorer",
      "created_at": "2023-12-08T21:37:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-07-24T08:04:35Z"
    },
    {
      "repo": "ridpath/CVE-2021-26828-Ultimate",
      "url": "https://github.com/ridpath/CVE-2021-26828-Ultimate",
      "created_at": "2025-05-30T00:59:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-10-04T20:17:38Z"
    },
    {
      "repo": "h002733/CVE-2021-26828",
      "url": "https://github.com/h002733/CVE-2021-26828",
      "created_at": "2026-10-09T06:50:46Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-06-07T21:27:16Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/ScadaBR/uploads/{var}.jsp",
      "query_markers": [
        "ipaddress=",
        "port=",
        "Connect=Connect"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.5"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "ports": [
        80,
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
      ],
      "protocol": "http",
      "repos": [
        "DeathRipper21/ScadaBRExplorer",
        "h002733/CVE-2021-26828",
        "h3v0x/CVE-2021-26828_ScadaBR_RCE",
        "hev0x/CVE-2021-26828_ScadaBR_RCE",
        "ridpath/CVE-2021-26828-Ultimate"
      ],
      "repo_count": 5,
      "confidence": 0.7,
      "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",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:546",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:641"
      ]
    },
    {
      "method": "GET",
      "path_template": "/ScadaBR/view_edit.shtm",
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.5"
        },
        {
          "name": "Origin",
          "value": "http://{var}:{var}/"
        },
        {
          "name": "Referer",
          "value": "http://{var}:{var}/ScadaBR/view_edit.shtm"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "content_type": "multipart/form-data; boundary=---------------------------32124376735876620811763441977",
      "ports": [
        80,
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
      ],
      "protocol": "http",
      "repos": [
        "DeathRipper21/ScadaBRExplorer",
        "h002733/CVE-2021-26828",
        "h3v0x/CVE-2021-26828_ScadaBR_RCE",
        "hev0x/CVE-2021-26828_ScadaBR_RCE",
        "ridpath/CVE-2021-26828-Ultimate"
      ],
      "repo_count": 5,
      "confidence": 0.7,
      "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",
        "hev0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:62",
        "hev0x/CVE-2021-26828_ScadaBR_RCE/LinScada_RCE.py:100",
        "hev0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:61",
        "hev0x/CVE-2021-26828_ScadaBR_RCE/WinScada_RCE.py:100",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:518",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:587",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:605"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ScadaBR/login.htm",
      "body_markers": [
        "username=",
        "password=",
        "csrf_token="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80,
        8080
      ],
      "protocol": "http",
      "repos": [
        "DeathRipper21/ScadaBRExplorer",
        "h002733/CVE-2021-26828",
        "h3v0x/CVE-2021-26828_ScadaBR_RCE",
        "hev0x/CVE-2021-26828_ScadaBR_RCE",
        "ridpath/CVE-2021-26828-Ultimate"
      ],
      "repo_count": 5,
      "confidence": 0.7,
      "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",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:579"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ScadaBR/view_edit.shtm",
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.5"
        },
        {
          "name": "Origin",
          "value": "http://{var}:{var}/"
        },
        {
          "name": "Referer",
          "value": "http://{var}:{var}/ScadaBR/view_edit.shtm"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "body_markers": [
        "-----------------------------32124376735876620811763441977\r\nContent-Disposition: form-data; name=\"view.name\"\r\n\r\n\r\n------",
        "-----------------------------6150838712847095098536245849\r\nContent-Disposition: form-data; name=\"view.name\"\r\n\r\n\r\n-------",
        "name=\"view.name\"",
        "name=\"view.xid\"",
        "name=\"backgroundImageMP\"",
        "name=\"upload\"",
        "name=\"view.anonymousAccess\""
      ],
      "content_type": "multipart/form-data; boundary=---------------------------32124376735876620811763441977",
      "ports": [
        80,
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
      ],
      "protocol": "http",
      "repos": [
        "DeathRipper21/ScadaBRExplorer",
        "h002733/CVE-2021-26828",
        "h3v0x/CVE-2021-26828_ScadaBR_RCE",
        "hev0x/CVE-2021-26828_ScadaBR_RCE",
        "ridpath/CVE-2021-26828-Ultimate"
      ],
      "repo_count": 5,
      "confidence": 0.7,
      "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",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:542",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:623"
      ]
    },
    {
      "method": "GET",
      "path_template": "/ScadaBR/login.htm",
      "ports": [
        80,
        8080
      ],
      "protocol": "http",
      "repos": [
        "ridpath/CVE-2021-26828-Ultimate"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:218",
        "ridpath/CVE-2021-26828-Ultimate/scadaflare.py:569"
      ]
    }
  ],
  "rules": []
}
