CVE DatabaseCVE-2020-5847
한국어 권고문 →
CVE-2020-58479.8/CRITICALCISA KEV

Unraid 6.8.0 and Prior Remote Code Execution (RCE) and Authentication Bypass Vulnerability Analysis (CVE-2020-5847)

⚡ Jump to Patch
Affected Vendors
lime technology
Affected Components
unraid
Published Date
2020-03-16
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
95.8%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Unraid OS versions 6.8.0 and prior

Impact

Unauthenticated remote attackers can execute arbitrary commands with root privileges, leading to complete system compromise.

Mitigation

Immediately upgrade Unraid OS to a secure version (6.8.1 or later) and restrict external access to the management web interface.

Affected Products & Version Scope

All Unraid OS versions up to and including 6.8.0

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Lime Technology released Unraid OS version 6.8.1 to address this vulnerability. Upgrade to the latest stable version via the Web GUI or execute the following command in the terminal:

bash
# Connect to the Unraid terminal and trigger the update process
# (Note: Backing up critical data prior to upgrading is highly recommended)
/usr/local/sbin/unraid-update

2. Temporary Workaround & Hardening Configuration

If an immediate upgrade is not feasible, completely block external internet access to the Unraid Web GUI. Restrict access to trusted internal IP addresses using firewalls (iptables) or reverse proxies.

bash
# Restrict Web GUI access (ports 80/443) to a trusted administrator IP (e.g., 192.168.1.50)
iptables -A INPUT -p tcp -s 192.168.1.50 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -s 192.168.1.50 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

3. Log Audit & IoC Verification Commands

Verify the current OS version and inspect web server logs for suspicious command injection attempts.

bash
# 1. Check the current Unraid OS version
cat /etc/unraid-version

# 2. Search web server access logs for suspicious parameter patterns
grep -Ei '(eval|system|shell_exec|passthru|exec|extract\.php)' /var/log/nginx/access.log
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Immediately upgrade Unraid OS to version 6.8.1 or higher and ensure the management interface is not exposed to the public internet.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2020-5847) is a critical remote code execution (RCE) vulnerability in the web management interface of Unraid, a network-attached storage (NAS) operating system. The root cause lies in the web server's failure to properly sanitize and validate user-supplied input before passing it to internal PHP functions or system command execution contexts. This allows unauthenticated attackers to execute arbitrary system commands by sending specially crafted HTTP requests.

2. Exploitation Mechanics & Attack Scenario

Attackers target specific PHP scripts (such as extract.php or endpoints handling query string parameters) within the Unraid web interface. The exploitation scenario typically unfolds as follows:

  • The attacker scans for Unraid servers with web management ports (TCP 80/443) exposed to the public internet.
  • By leveraging authentication bypass flaws (such as CVE-2020-5849) or insufficient session validation, the attacker bypasses the login barrier.
  • The attacker injects shell commands into the vulnerable parameters and transmits them via HTTP GET or POST requests.
  • Since the Unraid web server runs with root privileges, the injected commands are executed immediately with administrative rights, allowing the attacker to establish a reverse shell or download malware.

3. Infrastructure & Business Impact

Unraid OS is widely utilized for hosting critical data backups, media servers, and virtualized environments. Successful exploitation of this vulnerability allows attackers to access, modify, or delete all sensitive data stored on the NAS. Furthermore, compromised systems can be infected with ransomware or used as a pivot point to compromise the broader internal network. Given its inclusion in the CISA KEV catalog, active exploitation in the wild makes immediate remediation imperative.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2020-5847)

FAQ

Q1. How critical is CVE-2020-5847 and is it actively exploited in the wild?

CVE-2020-5847 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 95.8%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2020-5847?

Primary impacted vendors include lime technology across unraid. Scope summary: All Unraid OS versions up to and including 6.8.0

Q3. What temporary mitigations or workarounds exist for CVE-2020-5847 before patching?

[Mitigation] Immediately upgrade Unraid OS to a secure version (6.8.1 or later) and restrict external access to the management web interface. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2020-5847

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (lime technology)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2020-5847 Unraid 6.8.0 and Prior Remote Code Execution (RCE) and Authentication Bypass Vulnerability Analysis (CVE-2020-5847) (CVSS 9.8) - Patch & Workaround | CVE Pulse