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-2022-32744

CVE-2022-32744: Samba Auth Bypass Vulnerability

CVE-2022-32744 is an authentication bypass flaw in Samba that allows attackers to change other users' passwords and achieve full domain takeover. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-32744 Overview

A critical authentication bypass vulnerability was discovered in Samba's Key Distribution Center (KDC) that allows any authenticated user to change the passwords of other users, including administrators. The flaw exists in how the KDC handles kpasswd requests, accepting them when encrypted with any key known to it. This enables an attacker to forge kpasswd requests using their own key to reset arbitrary user passwords, ultimately leading to complete domain takeover.

Critical Impact

This vulnerability enables any authenticated domain user to escalate privileges by resetting passwords of administrators or service accounts, resulting in full Active Directory domain takeover.

Affected Products

  • Samba (all versions running as Active Directory Domain Controller)
  • Samba KDC component
  • Samba kpasswd service

Discovery Timeline

  • 2022-08-25 - CVE-2022-32744 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-32744

Vulnerability Analysis

The vulnerability resides in Samba's implementation of the Kerberos password change protocol (kpasswd). The KDC improperly validates the encryption key used to protect kpasswd requests, accepting any key that it recognizes rather than enforcing that requests must be encrypted with the correct service key for the target account.

This authentication bypass (CWE-290: Authentication Bypass by Spoofing) allows an attacker with valid domain credentials to craft malicious password change requests. By encrypting these forged requests with their own session key, an attacker can successfully change the password of any user in the domain, including high-privilege accounts such as domain administrators and service accounts.

The attack requires only low-privilege domain access and can be executed remotely over the network without any user interaction. The impact is severe, compromising the confidentiality, integrity, and availability of the entire Active Directory domain.

Root Cause

The root cause is improper validation of the encryption key in kpasswd request handling. The Samba KDC accepts kpasswd requests encrypted with any key known to it, rather than requiring the correct key that should be tied to the requestor's authorization to change a specific password. This allows any authenticated user to effectively bypass the authorization model for password changes.

Attack Vector

The attack can be executed remotely over the network by any user with valid domain credentials. The attacker crafts a kpasswd request targeting a victim account but encrypts it using their own credentials (which the KDC recognizes). Because the KDC fails to properly validate that the encryption key matches the authorization required for the password change operation, the request succeeds.

The attack flow involves:

  1. Attacker authenticates to the domain with low-privilege credentials
  2. Attacker crafts a kpasswd request to change the Administrator account password
  3. Attacker encrypts the request using their own key (known to the KDC)
  4. KDC processes the request without validating key-to-authorization binding
  5. Administrator password is changed to attacker-controlled value
  6. Attacker gains full domain administrator access

Since no verified code examples are available, readers should consult the Samba Security Advisory for detailed technical information about the vulnerability mechanism and exploitation techniques.

Detection Methods for CVE-2022-32744

Indicators of Compromise

  • Unexpected password reset events for privileged accounts in domain controller logs
  • Multiple kpasswd requests from a single user targeting different accounts
  • Password change events where the requesting user differs from the target account
  • Anomalous authentication patterns following password resets

Detection Strategies

  • Monitor Windows Security Event ID 4724 (password reset attempts) for suspicious patterns
  • Implement alerting on administrative account password changes outside of normal maintenance windows
  • Deploy behavioral analysis to detect privilege escalation sequences
  • Audit kpasswd service logs for unusual request volumes or patterns

Monitoring Recommendations

  • Enable detailed logging on Samba domain controllers including kpasswd service activity
  • Configure SIEM rules to correlate password reset events with subsequent privileged authentication
  • Implement honeypot accounts to detect unauthorized password change attempts
  • Monitor for new domain admin group memberships following password changes

How to Mitigate CVE-2022-32744

Immediate Actions Required

  • Apply the security patch from Samba immediately to all affected domain controllers
  • Audit recent password change events for signs of exploitation
  • Reset passwords for all privileged accounts if compromise is suspected
  • Review domain admin group membership for unauthorized additions

Patch Information

Samba has released security patches to address this vulnerability. Administrators should update to the latest patched version immediately. Detailed patch information and download links are available from the Samba Security Advisory for CVE-2022-32744.

Gentoo users should also review the Gentoo Security Advisory 2023-06 for distribution-specific guidance.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling the kpasswd service on domain controllers
  • Implement network segmentation to restrict access to kpasswd service ports
  • Enable additional monitoring and alerting on privileged account password changes
  • Use read-only domain controllers (RODCs) where possible to limit attack surface
bash
# Configuration example - Disable kpasswd service temporarily
# In smb.conf, add:
kpasswd port = 0

# Restart Samba services after configuration change
systemctl restart samba-ad-dc

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSamba

  • SeverityHIGH

  • CVSS Score8.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-290
  • Technical References
  • Gentoo Security Advisory 2023-06
  • Vendor Resources
  • Samba CVE-2022-32744 Patch
  • Related CVEs
  • CVE-2025-0620: Samba Authentication Bypass Vulnerability

  • CVE-2022-32743: Samba Auth Bypass Vulnerability

  • CVE-2023-4091: Samba Auth Bypass Vulnerability

  • CVE-2024-12087: Samba Rsync Path Traversal 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