
CVE-2023-46747 (F5 BIG-IP TMUI RCE) के लिए एक्सप्लॉइट स्क्रिप्ट जो कमजोर सिस्टम पर अनप्रमाणित उपयोगकर्ता निर्माण, टोकन पुनर्प्राप्ति, और रिमोट कमांड निष्पादन को सक्षम बनाती है।
यह स्क्रिप्ट F5 BIG-IP TMUI रिमोट कोड निष्पादन भेद्यता (CVE-2023-46747) का शोषण करती है। यह एक बिना प्रमाणीकरण वाले हमलावर को कमजोर F5 BIG-IP सिस्टम पर मनमाने कमांड निष्पादित करने की अनुमति देती है।
argparsebinasciijsonrandomrequeststimeurllib3लापता मॉड्यूल को pip का उपयोग करके स्थापित करें:
pip install requests
कमांड-लाइन विकल्प
python exploit.py -u <target_url> [-t <proxy_url>]
python exploit.py -u https://192.168.1.100:8443 -t http://127.0.0.1:8080
पैरामीटर
-u (Required) Target URL of the F5 BIG-IP TMUI system.
-t Proxy server (optional), e.g., http://127.0.0.1:8080.
Generate Credentials: Randomly generates a username and password.
User Creation: Attempts to create a new user on the target using a specially crafted request.
Token Retrieval: Logs in with the new user to obtain a session token.
Command Execution: Executes arbitrary commands via the token.
generatesth(num): Generates random alphanumeric strings of length num.
unauth_create_user(target, username, password, proxy): Creates a user on the target system.
get_token(target, user, passwd, proxy): Retrieves an authentication token for the created user.
exec_command(target, token, cmd, proxy): Executes arbitrary commands on the target system.
This script is intended for educational and research purposes only. Unauthorized use of this script against systems you do not own or have explicit permission to test is illegal and unethical.