Samba Server up to 3.6.4 Remote Procedural Calls access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.9$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Samba Server up to 3.6.4. Affected by this vulnerability is the function CreateAccount/OpenAccount/AddAccountRights/RemoveAccountRights of the component Remote Procedural Calls. This manipulation causes access control. This vulnerability is registered as CVE-2012-2111. Furthermore, an exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Samba Server up to 3.6.4 (File Transfer Software). It has been declared as problematic. Affected by this vulnerability is the function CreateAccount/OpenAccount/AddAccountRights/RemoveAccountRights of the component Remote Procedural Calls. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, and integrity. The summary by CVE is:

The (1) CreateAccount, (2) OpenAccount, (3) AddAccountRights, and (4) RemoveAccountRights LSA RPC procedures in smbd in Samba 3.4.x before 3.4.17, 3.5.x before 3.5.15, and 3.6.x before 3.6.5 do not properly restrict modifications to the privileges database, which allows remote authenticated users to obtain the "take ownership" privilege via an LSA connection.

The bug was discovered 04/30/2012. The weakness was published 04/30/2012 by Ivano Cristofolini as confirmed knowledge base article (Website). It is possible to read the advisory at samba.org. The public release has been coordinated with Samba. This vulnerability is known as CVE-2012-2111 since 04/04/2012. The exploitation appears to be easy. The attack can be launched remotely. The successful exploitation needs a single authentication. Technical details and also a private exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

A private exploit has been developed by Ivano Cristofolini. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 74613 (openSUSE Security Update : samba (openSUSE-SU-2012:0583-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185007 (HP-UX CIFS Server Remote Code Execution Vulnerability (HPSBUX02789)).

Upgrading to version 3.4.17, 3.5.15 and 3.6.5 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (75277), Tenable (74613), SecurityFocus (BID 53307†), OSVDB (81648†) and Secunia (SA48976†). Similar entries are available at VDB-5281, VDB-5277, VDB-5279 and VDB-5284. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 4.9

VulDB Base Score: 5.4
VulDB Temp Score: 4.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Private
Status: Proof-of-Concept
Author: Ivano Cristofolini

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 74613
Nessus Name: openSUSE Security Update : samba (openSUSE-SU-2012:0583-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 71340
OpenVAS Name: Debian Security Advisory DSA 2463-1 (samba)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Server 3.4.17, 3.5.15 and 3.6.5

Timelineinfo

04/04/2012 🔍
04/30/2012 +26 days 🔍
04/30/2012 +0 days 🔍
04/30/2012 +0 days 🔍
04/30/2012 +0 days 🔍
04/30/2012 +0 days 🔍
04/30/2012 +0 days 🔍
04/30/2012 +0 days 🔍
05/05/2012 +5 days 🔍
05/07/2012 +2 days 🔍
05/13/2012 +6 days 🔍
06/13/2014 +761 days 🔍
03/24/2021 +2476 days 🔍

Sourcesinfo

Advisory: samba.org
Researcher: Ivano Cristofolini
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2012-2111 (🔍)
GCVE (CVE): GCVE-0-2012-2111
GCVE (VulDB): GCVE-100-5335

OVAL: 🔍

X-Force: 75277
SecurityFocus: 53307 - Samba CVE-2012-2111 Remote Security Bypass Vulnerability
Secunia: 48976 - Samba LSA RPC "take ownership" Privilege Security Bypass Security Issue, Less Critical
OSVDB: 81648
SecurityTracker: 1026988 - Samba Local Security Authority Bug Lets Remote Authenticated Users Gain Elevated Privileges
Vulnerability Center: 35047 - Samba \x27smbd\x27 Allows Privilege Escalation for Remote Authenticated Users via an LSA Connection, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 05/07/2012 12:39
Updated: 03/24/2021 10:36
Changes: 05/07/2012 12:39 (82), 04/11/2017 17:47 (13), 03/24/2021 10:36 (3)
Complete: 🔍
Cache ID: 216:0BD:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!