CVE-2014-5334

9.8 CRITICAL

📋 TL;DR

FreeNAS versions before 9.3-M3 have a default blank admin password, allowing remote attackers to gain root privileges through the WebGui login. This affects all FreeNAS installations running vulnerable versions with default configurations.

💻 Affected Systems

Products:
  • FreeNAS
Versions: All versions before 9.3-M3
Operating Systems: FreeBSD-based FreeNAS
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems where admin password was never changed from default blank.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with root access, allowing data theft, system destruction, or use as pivot point in network attacks.

🟠

Likely Case

Unauthorized administrative access leading to data exfiltration, configuration changes, or service disruption.

🟢

If Mitigated

No impact if password has been changed from default or system is not internet-facing.

🌐 Internet-Facing: HIGH - Direct remote exploitation possible via web interface.
🏢 Internal Only: HIGH - Internal attackers can exploit via network access.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Simple web login with blank password. No special tools required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 9.3-M3 and later

Vendor Advisory: https://bugs.freenas.org/issues/5844

Restart Required: No

Instructions:

1. Update FreeNAS to version 9.3-M3 or later via System → Update. 2. Change admin password via Account → Users → Admin → Change Password.

🔧 Temporary Workarounds

Change Admin Password

all

Manually set a strong admin password to prevent blank password exploitation.

ssh into FreeNAS and run: 'passwd admin'
Or use WebGui: Account → Users → Admin → Change Password

Restrict WebGui Access

all

Limit WebGui access to trusted networks only.

Configure firewall to restrict port 80/443 to trusted IPs

🧯 If You Can't Patch

  • Immediately change admin password to strong, unique value
  • Restrict WebGui access to internal network only via firewall rules

🔍 How to Verify

Check if Vulnerable:

Attempt to login to WebGui with username 'admin' and blank password. If successful, system is vulnerable.

Check Version:

ssh to FreeNAS and run: 'freenas-version' or check WebGui System → Information

Verify Fix Applied:

Verify FreeNAS version is 9.3-M3 or later via System → Information, and confirm admin password is set.

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed login attempts followed by successful admin login
  • WebGui access from unexpected IP addresses

Network Indicators:

  • HTTP POST requests to /account/login/ with blank password field

SIEM Query:

source="freenas" (event="login" AND user="admin" AND result="success")

🔗 References

📤 Share & Export