
OpenPLC 3 WebServer 인증된 원격 코드 실행.
OpenPLC 3 WebServer 인증된 원격 코드 실행.
Open PLC Webserver v3에 존재하는 명령 주입 취약점으로 인해, 원격 공격자는 애플리케이션의 "/hardware" 페이지에 있는 "Hardware Layer Code Box" 구성 요소를 악용하여 임의의 코드를 실행할 수 있습니다. hackthebox의 Wifinetictwo.htb 머신에서만 테스트되었습니다.
usage: openplc_exploit.py [-h] [--usage] --ip ADDR --port PORT --target URL -U USER -P PASSWORD
[--payload-program PAYLOAD_PROGRAM]
options:
-h, --help show this help message and exit
--usage show usage message
--ip ADDR ip address for the reverse connection
--port PORT port number to the reverse connection
--target URL target url. Example: http://localhost:8080
-U USER, --username USER
username to log int to openplc web server
-P PASSWORD, --password PASSWORD
password to log in to openplc web server
--payload-program PAYLOAD_PROGRAM
structured text openplc format to send to /upload-program