| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Samba up to 3.6.x. It has been rated as critical. Impacted is the function ReportEventW. The manipulation leads to numeric error.
This vulnerability is referenced as CVE-2012-1182. Furthermore, an exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability, which was classified as very critical, has been found in Samba up to 3.6.x (File Transfer Software). This issue affects the function ReportEventW. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array length in a manner consistent with validation of array memory allocation, which allows remote attackers to execute arbitrary code via a crafted RPC call.
The weakness was published 04/10/2012 by Brian Gorenc as ZDI-12-072 (Website) via ZDI (Zero Day Initiative). The advisory is shared at zerodayinitiative.com. The identification of this vulnerability is CVE-2012-1182 since 02/14/2012. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 03/24/2025).
A public exploit has been developed in Python. The exploit is available at securityfocus.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 173 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 74601 (openSUSE Security Update : samba (openSUSE-SU-2012:0508-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.6.4, 3.5.14 or 3.4.16 eliminates this vulnerability. The upgrade is hosted for download at samba.org.Addressing this vulnerability is possible by firewalling Ports 137-139. 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. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12202. The filter is assigned to the category Vulnerabilities.
The vulnerability is also documented in the databases at X-Force (74721), Exploit-DB (21850), Tenable (74601), SecurityFocus (BID 52973†) and OSVDB (81303†). networkworld.com is providing further details. Similar entries are available at VDB-5281, VDB-5277, VDB-5279 and VDB-5284. If you want to get the best quality for vulnerability data then you always have to consider 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: 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: Numeric errorCWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
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: 74601
Nessus Name: openSUSE Security Update : samba (openSUSE-SU-2012:0508-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 71254
OpenVAS Name: Debian Security Advisory DSA 2450-1 (samba)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: setinfopolicy_heap.rb
MetaSploit Name: Samba SetInformationPolicy AuditEventsInfo Heap Overflow
MetaSploit File: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Samba 3.6.4/3.5.14/3.4.16
Firewalling: 🔍
TippingPoint: 🔍
TippingPoint Title: 🔍
TippingPoint Category: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍
Timeline
10/20/2011 🔍02/14/2012 🔍
04/10/2012 🔍
04/10/2012 🔍
04/10/2012 🔍
04/10/2012 🔍
04/10/2012 🔍
04/15/2012 🔍
04/25/2012 🔍
06/13/2014 🔍
03/24/2025 🔍
Sources
Product: samba.orgAdvisory: ZDI-12-072
Researcher: Brian Gorenc
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-1182 (🔍)
GCVE (CVE): GCVE-0-2012-1182
GCVE (VulDB): GCVE-100-5285
OVAL: 🔍
X-Force: 74721
SecurityFocus: 52973 - Samba 'Perl-Based DCE/RPC IDL' Compiler Remote Code Execution Vulnerability
Secunia: 48742 - Samba RPC Network Data Representation Marshalling Vulnerability, Moderately Critical
OSVDB: 81303
SecurityTracker: 1026913
Vulnerability Center: 34865 - Samba RPC Code Generator Remote Arbitrary Code Execution via a Crafted RPC Call, Critical
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍
Entry
Created: 04/25/2012 02:01Updated: 03/24/2025 04:16
Changes: 04/25/2012 02:01 (92), 04/11/2017 10:41 (14), 03/24/2021 06:39 (2), 11/08/2024 18:16 (18), 03/24/2025 04:16 (1)
Complete: 🔍
Cache ID: 216:B67:103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.