CVE-2020-27568

7.5 HIGH

📋 TL;DR

CVE-2020-27568 involves insecure file permissions in Aviatrix Controller 5.3.1516 where multiple files and directories are world-writable. This allows attackers with access to modify critical system files, potentially leading to privilege escalation or system compromise. Organizations running Aviatrix Controller version 5.3.1516 are affected.

💻 Affected Systems

Products:
  • Aviatrix Controller
Versions: 5.3.1516
Operating Systems: Linux-based systems running Aviatrix Controller
Default Config Vulnerable: ⚠️ Yes
Notes: All Aviatrix appliances have full encryption, which provides an additional security layer but doesn't eliminate the file permission vulnerability.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise through privilege escalation, allowing attackers to execute arbitrary code, steal sensitive data, or disrupt network operations.

🟠

Likely Case

Local privilege escalation leading to unauthorized access to controller resources and potential manipulation of network configurations.

🟢

If Mitigated

Limited impact due to Aviatrix's full encryption layer, but still presents a security weakness that could be combined with other vulnerabilities.

🌐 Internet-Facing: MEDIUM - While the controller may be internet-facing, exploitation requires some level of access to the system.
🏢 Internal Only: HIGH - Internal attackers or compromised accounts could exploit this vulnerability to gain elevated privileges.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires local access to the system. The vulnerability is straightforward to exploit once access is obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 5.3.1516

Vendor Advisory: https://docs.aviatrix.com/HowTos/security_bulletin_article.html#insecure-file-permissions

Restart Required: Yes

Instructions:

1. Upgrade Aviatrix Controller to a version newer than 5.3.1516. 2. Follow Aviatrix upgrade documentation. 3. Restart the controller service after upgrade.

🔧 Temporary Workarounds

File Permission Hardening

linux

Manually adjust permissions on world-writable files and directories identified in the vulnerability.

find /path/to/aviatrix -perm -o+w -type f -exec chmod o-w {} \;
find /path/to/aviatrix -perm -o+w -type d -exec chmod o-w {} \;

🧯 If You Can't Patch

  • Implement strict access controls to limit who can access the Aviatrix Controller system.
  • Monitor file system changes and implement file integrity monitoring on critical Aviatrix directories.

🔍 How to Verify

Check if Vulnerable:

Check if running Aviatrix Controller version 5.3.1516 using 'aviatrix-ctl version' command.

Check Version:

aviatrix-ctl version

Verify Fix Applied:

Verify version is newer than 5.3.1516 and check file permissions with 'find /opt/aviatrix -perm -o+w -ls' (should return no results).

📡 Detection & Monitoring

Log Indicators:

  • Unexpected file permission changes in Aviatrix directories
  • Unauthorized access attempts to controller files

Network Indicators:

  • Unusual outbound connections from the controller system

SIEM Query:

source="aviatrix" AND (event_type="file_modification" OR event_type="permission_change")

🔗 References

📤 Share & Export