Samba vulnerabilities, page 4

290 vulnerabilities

Known vulnerabilities in Samba products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 8 products.

RoutineCVE-2024-12086redhat · enterprise_linux +11 moreRsync: rsync server leaks arbitrary client filesA flaw was found in rsync. It could allow a server to enumerate the contents of an arbitrary file from the client's machine. This issue occurs when files are being copied from a client to a server. During this process, the rsync server will send checksums of local data to the client to compare with in order to determine what data needs to be sent to the server. By sending specially constructed checksum values for arbitrary files, an attacker may be able to reconstruct the data of those files byte-by-byte based on the responses from the client.CVSS6.8MediumEPSS1.79%PrioritiseCVE-2024-12085redhat · enterprise_linux +28 moreRsync: info leak via uninitialized stack contentsA flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitialized stack data at a time.CVSS7.5HighEPSS8.64%RoutineCVE-2023-4154samba +3 moreSamba: ad dc password exposure to privileged users and rodcsA design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially granting access to secret attributes, even under low-privileged attacker influence.CVSS7.5HighEPSS1.40%RoutineCVE-2023-42669redhat · enterprise_linux +10 moreSamba: "rpcecho" development server allows denial of service via sleep() call on ad dcA vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the "rpcecho" service operates with only one worker in the main RPC task, allowing calls to the "rpcecho" server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a "sleep()" call in the "dcesrv_echo_TestSleep()" function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the "rpcecho" server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as "rpcecho" runs in the main RPC task.CVSS6.5MediumEPSS2.06%PrioritiseCVE-2023-3961redhat · enterprise_linux +6 moreSamba: smbd allows client access to unix domain sockets on the file system as rootA path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.CVSS9.8CriticalEPSS2.69%RoutineCVE-2023-42670fedoraproject · fedora +4 moreSamba: ad dc busy rpc multiple listener dosA flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba's RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation "classic DCs") can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as "The procedure number is out of range" when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.CVSS6.5MediumEPSS1.33%RoutineCVE-2023-4091redhat · enterprise_linux +11 moreSamba: smb clients can truncate files with read-only permissionsA vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.CVSS6.5MediumEPSS1.42%RoutineCVE-2023-5568samba +2 moreSamba: heap buffer overflow with freshness tokens in the heimdal kdcA heap-based Buffer Overflow flaw was discovered in Samba. It could allow a remote, authenticated attacker to exploit this vulnerability to cause a denial of service.CVSS6.5MediumEPSS2.08%RoutineCVE-2023-34968redhat · enterprise_linux +6 moreSamba: spotlight server-side share path disclosureA path disclosure vulnerability was found in Samba. As part of the Spotlight protocol, Samba discloses the server-side absolute path of shares, files, and directories in the results for search queries. This flaw allows a malicious client or an attacker with a targeted RPC request to view the information that is part of the disclosed path.CVSS5.3MediumEPSS1.42%RoutineCVE-2023-34967redhat · enterprise_linux +5 moreSamba: type confusion in mdssvc rpc service for spotlightA Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.CVSS5.3MediumEPSS61.44%PrioritiseCVE-2023-34966redhat · enterprise_linux +64 moreSamba: infinite loop in mdssvc rpc service for spotlightAn infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.CVSS7.5HighEPSS62.89%RoutineCVE-2023-3347redhat · enterprise_linux +64 moreSamba: smb2 packet signing is not enforced when "server signing = required" is setA vulnerability was found in Samba's SMB2 packet signing mechanism. The SMB2 packet signing is not enforced if an admin configured "server signing = required" or for SMB2 connections to Domain Controllers where SMB2 packet signing is mandatory. This flaw allows an attacker to perform attacks, such as a man-in-the-middle attack, by intercepting the network traffic and modifying the SMB2 messages between client and server, affecting the integrity of the data.CVSS5.9MediumEPSS0.45%RoutineCVE-2022-2127redhat · enterprise_linux +21 moreSamba: out-of-bounds read in winbind auth_crapAn out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly resulting in a crash.CVSS5.9MediumEPSS1.82%RoutineCVE-2023-0922samba +16 moresamba sambaThe Samba AD DC administration tool, when operating against a remote LDAP server, will by default send new or reset passwords over a signed-only connection.CVSS5.9MediumEPSS0.48%RoutineCVE-2023-0614samba +4 moresamba sambaThe fix in 4.6.16, 4.7.9, 4.8.4 and 4.9.7 for CVE-2018-10919 Confidential attribute disclosure vi LDAP filters was insufficient and an attacker may be able to obtain confidential BitLocker recovery keys from a Samba AD DC.CVSS7.7HighEPSS0.57%RoutineCVE-2023-0225samba +3 moresamba sambaA flaw was found in Samba. An incomplete access check on dnsHostName allows authenticated but otherwise unprivileged users to delete this attribute from any object in the directory.CVSS4.3MediumEPSS0.72%PrioritiseCVE-2022-45141samba +3 moresamba sambaSince the Windows Kerberos RC4-HMAC Elevation of Privilege Vulnerability was disclosed by Microsoft on Nov 8 2022 and per RFC8429 it is assumed that rc4-hmac is weak, Vulnerable Samba Active Directory DCs will issue rc4-hmac encrypted tickets despite the target server supporting better encryption (eg aes256-cts-hmac-sha1-96).CVSS9.8CriticalEPSS0.46%RoutineCVE-2021-20251fedoraproject · fedora +4 morefedoraproject fedoraA flaw was found in samba. A race condition in the password lockout code may lead to the risk of brute force attacks being successful if special conditions are met.CVSS5.9MediumEPSS0.76%RoutineCVE-2018-14628fedoraproject · fedora +7 morefedoraproject fedoraAn information leak vulnerability was discovered in Samba's LDAP server. Due to missing access control checks, an authenticated but unprivileged attacker could discover the names and preserved attributes of deleted objects in the LDAP store.CVSS4.3MediumEPSS1.25%RoutineCVE-2022-3592fedoraproject · fedora +2 morefedoraproject fedoraA symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.CVSS6.5MediumEPSS2.81%