
OpenPLC 3 WebServer تنفيذ تعليمات برمجية عن بُعد بعد المصادقة
OpenPLC 3 WebServer تنفيذ الأوامر عن بعد بعد المصادقة.
وجود حقن أوامر في خادم OpenPLC Webserver v3 يمكّن المهاجمين عن بعد من تشغيل أكواد عشوائية عن طريق استغلال مكون "Hardware Layer Code Box" الموجود في صفحة "/hardware" من التطبيق. تم اختباره فقط على جهاز Wifinetictwo.htb من hackthebox.
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