Quantum Secular Labs / Blog / Advisories

CVE-2012-1182: Samba: Remote code execution

CVE-2012-1182 has a CVSS v2 base score of 10.0 (the maximum on that scale) and affects Samba. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available.

Vulnerability description

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.

Severity breakdown

CVSS v2.0 10.0: AV:N/AC:L/Au:N/C:C/I:C/A:C

  • Access vector: Network. Exploitable remotely over the network.
  • Access complexity: Low. No special conditions are required.
  • Authentication: None. No authentication is needed.
  • Confidentiality impact: Complete. Total information disclosure.
  • Integrity impact: Complete. Total loss of integrity.
  • Availability impact: Complete. Total shutdown of the component.

Affected products

  • Samba: up to and including 3.4.15; 3.0.0; 3.0.1; 3.0.2; 3.0.2 a; 3.0.2a; 3.0.3; 3.0.4; 3.0.4 rc1; 3.0.5; 3.0.6; 3.0.7

References