The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2019-25652

CVE-2019-25652: UniFi Network Controller MITM Vulnerability

CVE-2019-25652 is an information disclosure flaw in UniFi Network Controller that enables man-in-the-middle attacks via improper SSL certificate verification. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2019-25652 Overview

CVE-2019-25652 is an improper certificate verification vulnerability [CWE-295] affecting UniFi Network Controller before version 5.10.22 and the 5.11.x branch before 5.11.18. The controller fails to perform secure SSL host verification when establishing SMTP connections. An adjacent network attacker can present a forged SSL certificate during the SMTP handshake and intercept traffic. This man-in-the-middle (MITM) position exposes SMTP credentials configured in the controller for outbound email notifications. The flaw enables credential theft without requiring authentication or user interaction on the controller side.

Critical Impact

Adjacent network attackers can intercept SMTP traffic and harvest plaintext credentials from UniFi Network Controllers through forged SSL certificates.

Affected Products

  • UniFi Network Controller versions prior to 5.10.22
  • UniFi Network Controller 5.11.x versions prior to 5.11.18
  • Deployments configured with SMTP for email notifications or alerts

Discovery Timeline

  • 2026-03-27 - CVE-2019-25652 published to the National Vulnerability Database (NVD)
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2019-25652

Vulnerability Analysis

The UniFi Network Controller integrates SMTP functionality to deliver administrative email notifications, alerts, and reports. When the controller initiates a TLS-protected SMTP session, it does not properly validate the certificate presented by the SMTP server. The verification routine omits host name checking and accepts certificates that are not trusted for the requested host.

This flaw breaks the trust model that TLS depends on. Any party that can position itself between the controller and the configured SMTP server can present its own certificate and complete the handshake. Once the encrypted channel terminates at the attacker, the SMTP AUTH LOGIN or AUTH PLAIN exchange exposes the stored credentials in base64-encoded form, which is trivially decoded.

Root Cause

The root cause is improper certificate validation [CWE-295] in the SMTP client logic. The code path responsible for opening a secure SMTP connection does not enforce hostname verification against the certificate's Subject Alternative Name (SAN) or Common Name (CN). It also does not validate the certificate chain against a trusted certificate authority store. As a result, self-signed or attacker-controlled certificates are silently accepted.

Attack Vector

Exploitation requires adjacent network access — a position on the same broadcast domain, VLAN, or transit network between the controller and its SMTP relay. An attacker uses ARP spoofing, DHCP manipulation, or rogue routing to redirect SMTP traffic. The attacker then terminates the TLS handshake using a forged certificate. The controller proceeds with authentication, allowing the attacker to capture the SMTP username and password configured by the administrator. These credentials often correspond to corporate mail accounts and can support lateral movement or further phishing.

No verified public exploit code is associated with this CVE. Refer to the VulnCheck Advisory on UniFi for additional technical context.

Detection Methods for CVE-2019-25652

Indicators of Compromise

  • Unexpected ARP table changes on the network segment hosting the UniFi Network Controller
  • SMTP connections from the controller terminating at hosts other than the configured mail relay
  • TLS certificates presented to the controller that are self-signed or issued by an untrusted CA
  • Authentication failures or anomalous login activity on the SMTP account configured in the controller

Detection Strategies

  • Monitor outbound SMTP traffic from the controller and verify the destination IP matches the legitimate mail relay
  • Inspect TLS handshakes to the SMTP server and alert on certificate fingerprint changes
  • Correlate Layer 2 anomalies such as ARP poisoning with SMTP session anomalies
  • Review controller version strings during routine asset inventory to identify unpatched deployments

Monitoring Recommendations

  • Enable network flow logging for the management VLAN that hosts UniFi controllers
  • Forward switch and firewall logs to a central data lake for retroactive correlation
  • Track configuration changes to the SMTP settings field within the UniFi controller
  • Alert on SMTP authentication events from the controller account originating from unexpected source IPs

How to Mitigate CVE-2019-25652

Immediate Actions Required

  • Upgrade UniFi Network Controller to version 5.10.22, 5.11.18, or later as published in the vendor advisory
  • Rotate any SMTP credentials previously configured in vulnerable controller versions
  • Restrict the management network segment to limit adjacent network exposure
  • Audit recent SMTP traffic from the controller for connections to unauthorized hosts

Patch Information

Ubiquiti addressed the vulnerability in UniFi Network Controller 5.10.22 and 5.11.18. Administrators should review the UI Community Security Bulletin for vendor guidance and apply the fixed release. The patch enforces proper hostname verification and certificate chain validation for SMTP TLS sessions.

Workarounds

  • Disable the SMTP notification feature within the controller until the patch is applied
  • Configure the controller to use an SMTP relay reachable only through a dedicated, isolated VLAN
  • Use a local SMTP relay on the same host as the controller to remove the network path attackers can intercept
  • Enforce strict Layer 2 controls such as dynamic ARP inspection and DHCP snooping on the management segment
bash
# Verify installed UniFi Network Controller version on Linux deployments
dpkg -l | grep unifi

# Upgrade to a patched release (Debian/Ubuntu example)
sudo apt-get update
sudo apt-get install --only-upgrade unifi

# Confirm the running version meets the fixed baseline (>= 5.10.22 or >= 5.11.18)
mca-cli-op info | grep -i version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechUnifi Network Controller

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Technical References
  • UI Community Security Bulletin

  • VulnCheck Advisory on Unifi
  • Related CVEs
  • CVE-2019-25651: Ubiquiti UniFi Encryption Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English