CVE-2019-25651
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedUbiquiti UniFi Network Controller prior to 5.10.12 (excluding 5.6.42), UAP FW prior to 4.0.6, UAP-AC, UAP-AC v2, and UAP-AC Outdoor FW prior to 3.8.17, USW FW prior to 4.0.6, USG FW prior to 4.4.34 uses AES-CBC encryption for device-to-controller communication, which contains cryptographic weaknesses that allow attackers to recover encryption keys from captured traffic. Attackers with adjacent network access can capture sufficient encrypted traffic and exploit AES-CBC mode vulnerabilities to derive the encryption keys, enabling unauthorized control and management of network devices.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceUbiquiti UniFi devices use weak AES-CBC encryption for controller communication, allowing attackers with adjacent network access to capture traffic and recover encryption keys through CBC mode vulnerabilities, enabling unauthorized device control.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Adjacent
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify UniFi Controller versionLog into the UniFi Controller web interface and navigate to Settings > System > About, or check via CLI: `ssh <controller_ip> -c 'cat /usr/lib/unifi/data/version'`Affected if Controller version is earlier than 5.10.12
-
Check UAP/USW access point firmware versionsIn UniFi Controller, go to Devices > select each access point > check the Firmware version field under Device Overview, or use SSH to access point and run `cat /var/etc/version`Affected if UAP or USW firmware version is earlier than 4.0.6
-
Check UAP-AC variant firmware versionsIn UniFi Controller, go to Devices > select each UAP-AC variant > check the Firmware version field, or SSH to the device and run `cat /var/etc/version`Affected if UAP-AC variant firmware version is earlier than 3.8.17
-
Check USG gateway firmware versionIn UniFi Controller, go to Devices > select USG > check the Firmware version under Device Overview, or SSH to USG and run `cat /var/etc/version`Affected if USG firmware version is earlier than 4.4.34
-
Verify network segmentation of management interfacesReview network configuration to confirm controller HTTPS port (8080/8443) and device management ports are not exposed to untrusted VLANs or directly to the internet. Check firewall rules and VLAN assignments.Affected if Controller or device management interfaces are accessible from untrusted/adjacent network segments without proper access controls
Environment is affected if any UniFi controller version is below 5.10.12 OR any device firmware is below the respective minimum (4.0.6 for UAP/USW, 3.8.17 for UAP-AC, 4.4.34 for USG) AND management interfaces are exposed to adjacent networks.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade UniFi Network Controller to 5.10.12+ and update all device firmware (UAP/USW to 4.0.6+, UAP-AC variants to 3.8.17+, USG to 4.4.34+). Ensure network segmentation limits adjacent access.
UniFi Network Controller 5.10.12 or later; UAP firmware 4.0.6 or later; UAP-AC firmware 3.8.17 or later; USW firmware 4.0.6 or later; USG firmware 4.4.34 or later
- Backup the UniFi Network Controller configuration before starting the upgrade
- Download UniFi Network Controller version 5.10.12 or later from the official Ubiquiti downloads page
- Stop the UniFi Network Controller service
- Install the upgraded Controller version (5.10.12+)
- Start the UniFi Network Controller service and verify it runs correctly
- For affected access points (UAP, UAP-AC, UAP-AC v2, UAP-AC Outdoor), upgrade firmware to 4.0.6 (UAP) or 3.8.17 (UAP-AC variants) or later via the Controller
- For affected switches (USW), upgrade firmware to 4.0.6 or later via the Controller
- For affected gateways (USG), upgrade firmware to 4.4.34 or later via the Controller
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,040.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2019-25651 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2019-25651 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data