Samba up to 4.1.5 smbcacls smbcacls.c owner_set --chown/--chgrp access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.6 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Samba and classified as critical. The affected element is the function owner_set of the file smbcacls.c of the component smbcacls. Performing a manipulation of the argument --chown/--chgrp results in access control.
This vulnerability is known as CVE-2013-6442. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability classified as critical has been found in Samba (File Transfer Software). This affects the function owner_set of the file smbcacls.c of the component smbcacls. The manipulation of the argument --chown/--chgrp with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on integrity. The summary by CVE is:
The owner_set function in smbcacls.c in smbcacls in Samba 4.0.x before 4.0.16 and 4.1.x before 4.1.6 removes an ACL during use of a --chown or --chgrp option, which allows remote attackers to bypass intended access restrictions in opportunistic circumstances by leveraging an unintended administrative change.
The weakness was published 03/17/2014 by Noel Power with SuSE as Bug 10327 as confirmed bug report (Bugzilla). The advisory is shared at bugzilla.samba.org. This vulnerability is uniquely identified as CVE-2013-6442 since 11/04/2013. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1068 for this issue. The advisory points out:
(…) it will remove the existing ACL on the object being modified, leaving the file or directory unprotected.
The vulnerability scanner Nessus provides a plugin with the ID 73046 (Fedora 20 : samba-4.1.6-1.fc20 (2014-3796)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 121926 (Fedora Security Update for samba (FEDORA-2014-3796)).
Upgrading to version 4.0.16 or 4.1.6 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (91849), Tenable (73046), SecurityFocus (BID 66232†), Secunia (SA57366†) and SecurityTracker (ID 1029922†). Further details are available at lists.opensuse.org. Similar entry is available at VDB-12681. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.0.10
- 4.0.11
- 4.0.12
- 4.0.13
- 4.0.14
- 4.0.15
- 4.1.0
- 4.1.1
- 4.1.2
- 4.1.3
- 4.1.4
- 4.1.5
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.6
VulDB Base Score: 5.3
VulDB Temp Score: 4.6
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: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 73046
Nessus Name: Fedora 20 : samba-4.1.6-1.fc20 (2014-3796)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
PVS ID: 8276
PVS Name: Samba < 3.6.23 / 4.0.16 / 4.1.6 Multiple Vulnerabilities
PVS Risk: 🔍
PVS Family: 🔍
OpenVAS ID: 881920
OpenVAS Name: CentOS Update for samba4 CESA-2014:0383 centos6
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Samba 4.0.16/4.1.6
Timeline
11/04/2013 🔍03/11/2014 🔍
03/12/2014 🔍
03/14/2014 🔍
03/14/2014 🔍
03/14/2014 🔍
03/17/2014 🔍
03/17/2014 🔍
03/19/2014 🔍
03/24/2014 🔍
06/15/2021 🔍
Sources
Product: samba.orgAdvisory: Bug 10327
Researcher: Noel Power
Organization: SuSE
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2013-6442 (🔍)
GCVE (CVE): GCVE-0-2013-6442
GCVE (VulDB): GCVE-100-12645
OVAL: 🔍
X-Force: 91849 - Samba smbcacls security bypass, Medium Risk
SecurityFocus: 66232 - Samba 'smbcacls' Command Security Bypass Vulnerability
Secunia: 57366 - Samba smbcacls Access Control Lists Handling Security Issue, Not Critical
SecurityTracker: 1029922 - Samba smbcacls Command Error May Let Remote Users Bypass Access Controls
Vulnerability Center: 43711 - Samba 4.0, 4.1 Remote Security Bypass by Removing ACL File or Directory, Medium
Misc.: 🔍
See also: 🔍
Entry
Created: 03/19/2014 09:38Updated: 06/15/2021 18:13
Changes: 03/19/2014 09:38 (93), 05/24/2017 09:07 (6), 06/15/2021 18:13 (3)
Complete: 🔍
Cache ID: 216:396:103
No comments yet. Languages: en.
Please log in to comment.