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 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
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | smb4k | Fixed | 0.8.0-1 | DEBIAN-CVE-2007-0472 |
| Debian 13 | smb4k | Fixed | 0.8.0-1 | DEBIAN-CVE-2007-0472 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.suse.com/archive/suse-security-announce/2007-Jan/0015.html (vendor-advisory)
- http://www.gentoo.org/security/en/glsa/glsa-200703-09.xml (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:042 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.