SecurityContext

CVE-2012-1182: Samba - Remote Code Execution

  • Cve: CVE-2012-1182
  • Name: Samba - Remote Code Execution
  • 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.
  • Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update Samba to version 3.4.16, 3.5.14, 3.6.4 or later versions.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 10
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
  • Epss score: 0.74371
  • Epss percentile: 0.995
  • Assignee: [email protected]
  • Published at: 2012-04-10T21:55:02Z
  • Age in days: 5341
  • Modified at: 2026-06-16T23:39:12Z
  • Public exploits total: 1
  • References total: 27
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-1182
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-189—

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/samba/setinfopolicy_heap.rbmetasploit2012-04-10

References

Same in every row:

  • Source: nvd
UrlTags
https://www.samba.org/samba/security/CVE-2012-1182Vendor Advisory
http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078258.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078726.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078836.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080567.html
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00007.html
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00008.html
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00009.html
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00014.html

Products

ProductAffectedPlatform boundSourcesUrl
samba:samba= 3.6.3, = 3.6.2, = 3.6.1, = 3.6.0, = 3.5.13, = 3.5.12, = 3.5.11, = 3.5.10, = 3.5.9, = 3.5.8, = 3.5.7, = 3.5.6, = 3.5.5, = 3.5.4, = 3.5.3, = 3.5.2, = 3.5.1, = 3.5.0, <= 3.4.15, = 3.4.14, = 3.4.13, = 3.4.12, = 3.4.11, = 3.4.10, = 3.4.9, = 3.4.8, = 3.4.7, = 3.4.6, = 3.4.5, = 3.4.4, = 3.4.3, = 3.4.2, = 3.4.1, = 3.4.0, = 3.3.16, = 3.3.15, = 3.3.14, = 3.3.13, = 3.3.12, = 3.3.11, = 3.3.10, = 3.3.9, = 3.3.8, = 3.3.7, = 3.3.6, = 3.3.5, = 3.3.4, = 3.3.3, = 3.3.2, = 3.3.1, = 3.3.0, = 3.2.15, = 3.2.14, = 3.2.13, = 3.2.12, = 3.2.11, = 3.2.10, = 3.2.9, = 3.2.8, = 3.2.7, = 3.2.6, = 3.2.5, = 3.2.4, = 3.2.3, = 3.2.2, = 3.2.1, = 3.2.0, = 3.1.0, = 3.0.37, = 3.0.36, = 3.0.35, = 3.0.34, = 3.0.33, = 3.0.32, = 3.0.31, = 3.0.30, = 3.0.29, = 3.0.28, = 3.0.28 a, = 3.0.27, = 3.0.27 a, = 3.0.26, = 3.0.26 a, = 3.0.26a, = 3.0.25, = 3.0.25 a, = 3.0.25 b, = 3.0.25 c, = 3.0.25 pre1, = 3.0.25 pre2, = 3.0.25 rc1, = 3.0.25 rc2, = 3.0.25 rc3, = 3.0.25a, = 3.0.25b, = 3.0.25c, = 3.0.24, = 3.0.23, = 3.0.23 a, = 3.0.23 b, = 3.0.23 c, = 3.0.23 d, = 3.0.23a, = 3.0.23b, = 3.0.23c, = 3.0.23d, = 3.0.22, = 3.0.21, = 3.0.21 a, = 3.0.21 b, = 3.0.21 c, = 3.0.21a, = 3.0.21b, = 3.0.21c, = 3.0.20, = 3.0.20 a, = 3.0.20 b, = 3.0.20a, = 3.0.20b, = 3.0.19, = 3.0.18, = 3.0.17, = 3.0.16, = 3.0.15, = 3.0.14, = 3.0.14 a, = 3.0.14a, = 3.0.13, = 3.0.12, = 3.0.11, = 3.0.10, = 3.0.9, = 3.0.8, = 3.0.7, = 3.0.6, = 3.0.5, = 3.0.4, = 3.0.4 rc1, = 3.0.3, = 3.0.2, = 3.0.2 a, = 3.0.2a, = 3.0.1, = 3.0.0nonvd/v1/products/samba/samba

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2012-04-10
  • Remote: yes
  • Exposed hosts: 60998
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports