Samba up to 4.1.2 DCE-RPC Fragment Length Field librpc/rpc/dcerpc_util.c dcerpc_read_ncacn_packet_done memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.5 | $0-$5k | 0.11 |
Summary
A vulnerability, which was classified as critical, was found in Samba up to 4.1.2. Affected by this vulnerability is the function dcerpc_read_ncacn_packet_done of the file librpc/rpc/dcerpc_util.c of the component DCE-RPC Fragment Length Field. Executing a manipulation can lead to memory corruption.
This vulnerability is registered as CVE-2013-4408. No exploit is available.
You should upgrade the affected component.
Details
A vulnerability classified as very critical was found in Samba up to 4.1.2 (File Transfer Software). This vulnerability affects the function dcerpc_read_ncacn_packet_done of the file librpc/rpc/dcerpc_util.c of the component DCE-RPC Fragment Length Field. 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 confidentiality, integrity, and availability. CVE summarizes:
Heap-based buffer overflow in the dcerpc_read_ncacn_packet_done function in librpc/rpc/dcerpc_util.c in winbindd in Samba 3.x before 3.6.22, 4.0.x before 4.0.13, and 4.1.x before 4.1.3 allows remote AD domain controllers to execute arbitrary code via an invalid fragment length in a DCE-RPC packet.
The weakness was published 12/09/2013 by Stefan Metzmacher and Michael Adam with SerNet as CVE-2013-4408.html as confirmed advisory (Website). The advisory is shared for download at samba.org. The public release has been coordinated with the vendor. This vulnerability was named CVE-2013-4408 since 06/12/2013. The exploitation appears to be difficult. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 06/03/2021).
The vulnerability scanner Nessus provides a plugin with the ID 71274 (CentOS 5 / 6 : samba / samba3x (CESA-2013:1806)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185082 (HP-UX Running HP CIFS Server (Samba) Multiple Vulnerabilities (HPSBUX03087)).
Upgrading to version 3.6.22, 4.0.13 or 4.1.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at samba.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (71274), SecurityFocus (BID 63646†), OSVDB (100749†) and Vulnerability Center (SBV-42522†). Similar entries are available at VDB-11176 and VDB-65614. Once again VulDB remains the best source for vulnerability data.
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: 10.0VulDB Meta Temp Score: 9.5
VulDB Base Score: 10.0
VulDB Temp Score: 9.5
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: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 71274
Nessus Name: CentOS 5 / 6 : samba / samba3x (CESA-2013:1806)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 892812
OpenVAS Name: Debian Security Advisory DSA 2812-1 (samba - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Samba 3.6.22/4.0.13/4.1.3
Patch: samba.org
Timeline
06/12/2013 🔍11/11/2013 🔍
12/09/2013 🔍
12/09/2013 🔍
12/09/2013 🔍
12/10/2013 🔍
12/10/2013 🔍
12/11/2013 🔍
12/11/2013 🔍
06/03/2021 🔍
Sources
Product: samba.orgAdvisory: CVE-2013-4408.html
Researcher: Stefan Metzmacher, Michael Adam
Organization: SerNet
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2013-4408 (🔍)
GCVE (CVE): GCVE-0-2013-4408
GCVE (VulDB): GCVE-100-11440
OVAL: 🔍
SecurityFocus: 63646
OSVDB: 100749
Vulnerability Center: 42522 - Samba 3.*, 4.* Remote Code Execution Vulnerability via Invalid DCE-RPC Packet, High
See also: 🔍
Entry
Created: 12/11/2013 14:32Updated: 06/03/2021 00:38
Changes: 12/11/2013 14:32 (80), 05/17/2017 08:41 (2), 06/03/2021 00:29 (3), 06/03/2021 00:38 (1)
Complete: 🔍
Committer:
Cache ID: 216:12E:103
No comments yet. Languages: en.
Please log in to comment.