Samba up to 3.2.12 sesssetup.c reply_sesssetup_and_X_spnego memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in Samba up to 3.2.12. The impacted element is the function reply_sesssetup_and_X_spnego of the file sesssetup.c. Executing a manipulation can lead to memory corruption.
This vulnerability appears as CVE-2010-1642. In addition, an exploit is available.
A patch should be applied to remediate this issue.
Details
A vulnerability has been found in Samba up to 3.2.12 (File Transfer Software) and classified as problematic. This vulnerability affects the function reply_sesssetup_and_X_spnego of the file sesssetup.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect availability. CVE summarizes:
The reply_sesssetup_and_X_spnego function in sesssetup.c in smbd in Samba before 3.4.8 and 3.5.x before 3.5.2 allows remote attackers to trigger an out-of-bounds read, and cause a denial of service (process crash), via a \xff\xff security blob length in a Session Setup AndX request.
The weakness was presented 06/17/2010 by Laurent Gaffie as confirmed git commit (GIT Repository). The advisory is available at git.samba.org. This vulnerability was named CVE-2010-1642. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed in Python. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 59675 (GLSA-201206-22 : Samba: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165462 (SUSE Enterprise Linux Security Update for Samba (SUSE-SU-2012:0348-1)).
Upgrading to version 3.2.13 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.samba.org. The best possible mitigation is suggested to be patching the affected component. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 9979.
The vulnerability is also documented in the databases at Tenable (59675), SecurityFocus (BID 40097†) and Vulnerability Center (SBV-26666†). See VDB-53697 for similar entry. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
Website
- Product: https://www.samba.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 59675
Nessus Name: GLSA-201206-22 : Samba: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 831116
OpenVAS Name: Mandriva Update for samba MDVSA-2010:141 (samba)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Upgrade: Samba 3.2.13
Patch: git.samba.org
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
Fortigate IPS: 🔍
Timeline
04/29/2010 🔍05/11/2010 🔍
06/17/2010 🔍
06/17/2010 🔍
06/17/2010 🔍
08/03/2010 🔍
03/19/2015 🔍
09/18/2021 🔍
Sources
Product: samba.orgAdvisory: git.samba.org
Researcher: Laurent Gaffie
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2010-1642 (🔍)
GCVE (CVE): GCVE-0-2010-1642
GCVE (VulDB): GCVE-100-53698
SecurityFocus: 40097 - Samba Multiple Remote Denial of Service Vulnerabilities
Vulnerability Center: 26666 - Samba Remote DoS Vulnerability via a \\xff\\xff Security Blob Length in a Session Setup AndX Request, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/19/2015 12:22Updated: 09/18/2021 09:04
Changes: 03/19/2015 12:22 (66), 03/02/2017 10:56 (14), 09/18/2021 09:03 (4), 09/18/2021 09:04 (1)
Complete: 🔍
Cache ID: 216:7C4:103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.