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-32743

CVE-2022-32743: Samba Auth Bypass Vulnerability

CVE-2022-32743 is an authentication bypass vulnerability in Samba that allows unprivileged users to write the dNSHostName attribute without proper validation. This article covers technical details, affected versions, and mitigations.

Published: February 18, 2026

CVE-2022-32743 Overview

CVE-2022-32743 is an improper access control vulnerability in Samba that fails to validate the Validated-DNS-Host-Name right for the dNSHostName attribute. This security flaw permits unprivileged users to write to the dNSHostName attribute when they should not have such permissions, potentially enabling unauthorized DNS-related modifications within Active Directory environments.

Critical Impact

Unprivileged users can modify the dNSHostName attribute without proper authorization, potentially leading to DNS-based attacks, service impersonation, or unauthorized domain changes in Active Directory environments.

Affected Products

  • Samba (all affected versions prior to patch)
  • Fedora 37

Discovery Timeline

  • 2022-09-01 - CVE-2022-32743 published to NVD
  • 2025-08-22 - Last updated in NVD database

Technical Details for CVE-2022-32743

Vulnerability Analysis

This vulnerability stems from Samba's failure to properly enforce the Validated-DNS-Host-Name access right when processing write operations to the dNSHostName attribute on computer account objects. In a properly secured Active Directory environment, the dNSHostName attribute should only be modifiable by users or services that possess the specific Validated-DNS-Host-Name right (also known as the validated write permission).

The dNSHostName attribute is critical for DNS resolution within Active Directory and is typically used to store the fully qualified domain name (FQDN) of computer objects. When this attribute can be modified by unauthorized users, it opens the door for various attack scenarios including DNS spoofing, service impersonation, and potential man-in-the-middle attacks within the domain.

Root Cause

The root cause is classified under CWE-276 (Incorrect Default Permissions). Samba's implementation does not correctly validate the Validated-DNS-Host-Name extended right before allowing write operations to the dNSHostName attribute. This means the permission check that should restrict modification of this attribute to only authorized principals is either missing or improperly implemented, effectively granting broader write access than intended by the security model.

Attack Vector

The vulnerability is exploitable over the network without requiring user interaction. An attacker with basic domain credentials (low-privilege domain user) could potentially exploit this vulnerability to:

  1. Modify the dNSHostName attribute of computer objects they should not have access to
  2. Redirect DNS lookups for specific hosts to attacker-controlled addresses
  3. Potentially impersonate services or hosts within the domain
  4. Facilitate further attacks such as relay attacks or credential harvesting

The attack requires network access to the Samba server acting as an Active Directory Domain Controller and valid low-privilege domain credentials.

Detection Methods for CVE-2022-32743

Indicators of Compromise

  • Unexpected modifications to dNSHostName attributes in Active Directory logs
  • LDAP write operations to computer objects by non-privileged accounts
  • Audit events showing changes to DNS-related attributes without corresponding authorized requests
  • Anomalous DNS resolution behavior for domain-joined computers

Detection Strategies

  • Enable and monitor LDAP audit logging on Samba AD DC servers for attribute modifications
  • Implement alerts for write operations to dNSHostName attributes, especially from non-administrative accounts
  • Deploy network monitoring to detect unusual LDAP modification traffic patterns
  • Review Active Directory object change logs for unauthorized dNSHostName modifications

Monitoring Recommendations

  • Enable detailed auditing on Samba AD DC using the log level configuration parameter
  • Configure SIEM rules to correlate LDAP write operations with user privilege levels
  • Implement baseline monitoring for dNSHostName attribute values across computer objects
  • Regularly audit permissions on computer objects in Active Directory

How to Mitigate CVE-2022-32743

Immediate Actions Required

  • Update Samba to the latest patched version available for your distribution
  • Review and audit all dNSHostName attributes for unauthorized modifications
  • Implement stricter access controls on computer objects in Active Directory
  • Enable enhanced LDAP auditing to detect any exploitation attempts

Patch Information

Security patches addressing this vulnerability are available through the official Samba project. Administrators should consult the Samba Bugzilla #14833 for detailed patch information and affected version details. Distribution-specific updates are also available:

  • Fedora users should apply updates via the Fedora Package Announcement
  • Gentoo users should reference GLSA 202309-06

Workarounds

  • Restrict network access to Samba AD DC services to trusted hosts only
  • Implement additional access control lists (ACLs) on computer objects to explicitly deny dNSHostName modifications by non-authorized users
  • Deploy network segmentation to limit exposure of AD DC services
  • Use host-based firewalls to restrict LDAP access to authorized management systems only
bash
# Configuration example - Enable enhanced LDAP auditing in smb.conf
[global]
   log level = 3 auth:5 ldap:5 sam:5
   log file = /var/log/samba/log.%m
   max log size = 50000

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 Score7.5

  • EPSS Probability1.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-276
  • Technical References
  • Fedora Package Announcement

  • Gentoo GLSA 202309-06
  • Vendor Resources
  • Samba Bugzilla #14833

  • Microsoft Windows Protocols Document
  • Related CVEs
  • CVE-2025-0620: Samba Authentication Bypass Vulnerability

  • CVE-2023-4091: Samba Auth Bypass Vulnerability

  • CVE-2022-32744: 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