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
    • 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 a certificate verification flaw in UniFi Network Controller that enables man-in-the-middle attacks on SMTP connections. This article covers the technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2019-25652 Overview

CVE-2019-25652 is an improper certificate validation vulnerability affecting UniFi Network Controller versions before 5.10.22 and 5.11.x versions before 5.11.18. The vulnerability stems from inadequate SSL certificate verification during SMTP connections, enabling adjacent network attackers to perform man-in-the-middle (MitM) attacks. By presenting a fraudulent SSL certificate, attackers can intercept SMTP traffic and potentially obtain sensitive credentials transmitted through the insecure channel.

Critical Impact

Adjacent network attackers can intercept SMTP credentials by exploiting weak SSL certificate validation, potentially compromising email communications and associated account credentials.

Affected Products

  • UniFi Network Controller versions before 5.10.22
  • UniFi Network Controller 5.11.x versions before 5.11.18

Discovery Timeline

  • 2026-03-27 - CVE CVE-2019-25652 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2019-25652

Vulnerability Analysis

This vulnerability is classified under CWE-295 (Improper Certificate Validation). The UniFi Network Controller fails to properly verify SSL/TLS certificates when establishing SMTP connections. This cryptographic weakness allows attackers positioned on the adjacent network to intercept and manipulate SMTP communications by presenting malicious certificates that the controller erroneously trusts.

The attack requires the adversary to be on the adjacent network segment, which increases the complexity of exploitation but remains feasible in enterprise environments where network segmentation may be incomplete. Once positioned, the attacker can capture SMTP credentials as they are transmitted, potentially gaining access to email accounts and any services that share those credentials.

Root Cause

The root cause lies in the SMTP certificate validation mechanism within the UniFi Network Controller. The software does not properly verify the authenticity of SSL certificates presented during SMTP handshakes, accepting certificates without adequate verification of the certificate chain, hostname matching, or certificate validity. This oversight in the cryptographic implementation creates a window for certificate spoofing attacks.

Attack Vector

The attack requires adjacent network access, meaning the attacker must be positioned on the same local network segment as the target UniFi Network Controller. From this position, the attacker performs a man-in-the-middle attack by:

  1. Intercepting SMTP connection attempts from the UniFi Network Controller
  2. Presenting a fraudulent SSL certificate to the controller
  3. Establishing separate encrypted connections with both the controller and the legitimate SMTP server
  4. Capturing credentials and email content as traffic passes through the attacker's system

The vulnerability exploits the lack of proper certificate hostname verification and chain validation, allowing self-signed or attacker-controlled certificates to be accepted as legitimate.

Detection Methods for CVE-2019-25652

Indicators of Compromise

  • Unexpected SSL certificate warnings or errors in network traffic logs related to SMTP connections
  • Unauthorized SMTP relay activity originating from the UniFi Network Controller's network segment
  • ARP spoofing indicators or unusual MAC address behavior on the local network
  • Anomalous SSL/TLS handshake patterns in network capture data

Detection Strategies

  • Monitor SMTP traffic for certificate validation failures or mismatched certificate details
  • Implement network-based intrusion detection systems (IDS) to identify potential MitM attack patterns
  • Deploy SentinelOne Singularity Platform to detect suspicious network behaviors and credential theft attempts
  • Review UniFi Network Controller logs for SMTP connection anomalies or authentication failures

Monitoring Recommendations

  • Enable detailed logging for all SMTP connections from the UniFi Network Controller
  • Implement certificate pinning monitoring to detect when unexpected certificates are presented
  • Use network traffic analysis tools to baseline normal SMTP communication patterns
  • Configure alerts for any changes in SMTP server certificate fingerprints

How to Mitigate CVE-2019-25652

Immediate Actions Required

  • Upgrade UniFi Network Controller to version 5.10.22 or later for the 5.10.x branch
  • Upgrade UniFi Network Controller to version 5.11.18 or later for the 5.11.x branch
  • Audit SMTP credentials that may have been exposed and rotate them immediately
  • Implement network segmentation to isolate the UniFi Network Controller from untrusted adjacent devices

Patch Information

Ubiquiti has addressed this vulnerability in UniFi Network Controller versions 5.10.22 and 5.11.18. Administrators should upgrade to these patched versions or later releases to remediate the improper certificate validation issue. For detailed patch information, refer to the Community UI Security Advisory.

Workarounds

  • Disable SMTP email notifications temporarily until the patch can be applied
  • Use a local SMTP relay on the same trusted network segment to reduce exposure
  • Implement strict network access controls to limit adjacent network access
  • Deploy network monitoring to detect potential MitM attacks during the interim period
bash
# Verify UniFi Network Controller version
# Access the controller via SSH or check Settings > System
# Ensure version is 5.10.22+ or 5.11.18+
dpkg -l | grep unifi
# Expected output should show version >= 5.10.22 or >= 5.11.18

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
  • Community UI Security Advisory

  • VulnCheck Advisory on Unifi
  • Related CVEs
  • CVE-2019-25651: Ubiquiti UniFi Encryption Vulnerability
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