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-2024-6694

CVE-2024-6694: WP Mail SMTP Information Disclosure Flaw

CVE-2024-6694 is an information disclosure vulnerability in WP Mail SMTP plugin for WordPress that exposes SMTP passwords to authenticated administrators. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-6694 Overview

CVE-2024-6694 is an information exposure vulnerability affecting the WP Mail SMTP plugin for WordPress in all versions up to and including 4.0.1. The vulnerability stems from the plugin displaying the SMTP password in plaintext within the SMTP Password field when administrators view the plugin settings. This security weakness falls under CWE-257 (Storing Passwords in a Recoverable Format).

While this vulnerability requires administrative-level access to exploit, it presents a significant risk in scenarios where an administrator account has been compromised. An attacker with access to a compromised admin account could retrieve SMTP server credentials, potentially enabling lateral movement or unauthorized access to email infrastructure.

Critical Impact

Authenticated attackers with administrative access can view plaintext SMTP passwords, potentially enabling credential theft and lateral movement to email server infrastructure.

Affected Products

  • WP Mail SMTP plugin for WordPress versions up to and including 4.0.1

Discovery Timeline

  • 2024-07-20 - CVE-2024-6694 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-6694

Vulnerability Analysis

This vulnerability is classified as an information exposure issue rooted in improper credential handling. The WP Mail SMTP plugin fails to properly mask or protect SMTP password values when rendering the settings page in the WordPress admin interface. Instead of displaying an obfuscated placeholder or asterisks, the actual password is exposed in the form field.

The vulnerability exists in the OptionsAbstract.php file within the plugin's Provider options handling. When administrators access the plugin settings page, the SMTP password is retrieved from the database and rendered directly in the HTML form field, making it visible to anyone with access to the admin panel.

The attack scenario requires an adversary to first compromise an administrator account through other means (phishing, credential stuffing, session hijacking, etc.). Once authenticated with admin privileges, the attacker can navigate to the WP Mail SMTP settings and retrieve the plaintext SMTP credentials.

Root Cause

The root cause is the storage and display of SMTP passwords in a recoverable format (CWE-257). The plugin's options handling code does not implement proper password masking when rendering the settings form. This design flaw allows the password to be visible in the HTML source and potentially accessible via JavaScript on the page.

Sensitive credentials should never be displayed back to users in plaintext, even to administrators. Best practices dictate using placeholder values (such as asterisks) while allowing users to enter new passwords if changes are needed.

Attack Vector

The attack vector is network-based and requires high privileges (administrative access). The exploitation flow involves:

  1. An attacker first compromises a WordPress administrator account through a separate attack vector
  2. The attacker navigates to the WP Mail SMTP plugin settings page in the WordPress admin dashboard
  3. The SMTP password is visible in the password input field or page source
  4. The attacker extracts these credentials for use in further attacks against the organization's email infrastructure

The vulnerability mechanism centers on improper credential display in the plugin's settings interface. When the settings page loads, the stored SMTP password is retrieved and rendered in the form field without proper masking. For technical implementation details, refer to the WordPress Changeset Update that addresses this issue.

Detection Methods for CVE-2024-6694

Indicators of Compromise

  • Unexpected access to WP Mail SMTP settings pages from unfamiliar IP addresses or user accounts
  • Suspicious administrator login activity followed by navigation to plugin configuration pages
  • Unauthorized changes to SMTP configuration or email sending patterns
  • Failed login attempts to SMTP servers using previously configured credentials from unknown sources

Detection Strategies

  • Monitor WordPress admin activity logs for access to WP Mail SMTP settings pages
  • Implement alerting on administrator account logins from unusual locations or at unusual times
  • Review email server authentication logs for suspicious login attempts using WordPress-configured SMTP credentials
  • Deploy web application firewalls (WAF) to detect and log access patterns to plugin settings URLs

Monitoring Recommendations

  • Enable comprehensive WordPress audit logging covering all plugin settings access
  • Configure SMTP server logging to capture authentication attempts and correlate with WordPress activity
  • Implement session monitoring for administrator accounts to detect potential account takeover
  • Set up alerts for multiple admin panel accesses within short time windows

How to Mitigate CVE-2024-6694

Immediate Actions Required

  • Update the WP Mail SMTP plugin to version 4.1.0 or later immediately
  • Rotate all SMTP credentials that may have been exposed through this vulnerability
  • Audit administrator account access logs for any suspicious activity
  • Review and restrict the number of users with administrative access to WordPress

Patch Information

The vulnerability has been addressed in the WP Mail SMTP plugin. The fix is documented in the WordPress Changeset Update which modifies the OptionsAbstract.php file to properly mask SMTP passwords in the settings interface. Users should update to the latest version of the plugin through the WordPress admin dashboard or by downloading from the official WordPress plugin repository.

Additional vulnerability details are available in the Wordfence Vulnerability Report.

Workarounds

  • If immediate patching is not possible, restrict administrative access to trusted personnel only
  • Consider using WordPress security plugins to implement additional authentication factors for admin accounts
  • Use environment variables or WordPress constants for SMTP configuration instead of storing credentials in the database
  • Implement IP-based access restrictions for the WordPress admin panel
bash
# Restrict WordPress admin access by IP in .htaccess
<Files wp-login.php>
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    Allow from 10.0.0.0/8
</Files>

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechWp Mail Smtp

  • SeverityLOW

  • CVSS Score2.7

  • EPSS Probability3.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-257
  • Technical References
  • WordPress Changeset Update

  • Wordfence Vulnerability Report
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS 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