First published: Fri Feb 05 2010(Updated: )
Security researcher called "Kingcope" pointed out: [1] <a href="http://seclists.org/fulldisclosure/2010/Feb/82">http://seclists.org/fulldisclosure/2010/Feb/82</a> [2] <a href="http://www.youtube.com/watch?v=NN50RtZ2N74">http://www.youtube.com/watch?v=NN50RtZ2N74</a> and detailed: [3] <a href="http://seclists.org/fulldisclosure/2010/Feb/99">http://seclists.org/fulldisclosure/2010/Feb/99</a> a deficiency in the behaviour of Samba server, providing SMB/CIFS services to the clients. Samba server, in the default configuration, is shipped with configuration file parameter "wide links" set to "yes" ("wide links = yes"). If a local user would first locally create a symbolic link, which target would point to some system sensitive file / directory and link name of this link would be placed into an exported Samba share, with write access for Samba users, this might allow a remote attacker to read, list and retrieve files, behind the target of the symbolic link. Samba upstream review of reasons and impact of this issue: [4] <a href="http://marc.info/?l=samba-technical&m=126539387432412&w=2">http://marc.info/?l=samba-technical&m=126539387432412&w=2</a> As mentioned in [4] the problem "is actually a default insecure configuration in Samba." and "comes from a combination of two features in Samba, each of which on their own are useful to Administrators". Workaround -- to prevent occurrence of this deficiency set: =========================================================== wide links = no in the [global] section of your smb.conf and restart the Samba (smbd) daemon. This will ensure, remote Samba clients will not follow symbolink links, exported in Samba shares, to their target anymore (thus prevent the potential disclosure of sensitive data).
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Samba Samba | =3.3.3 | |
Samba Samba | =3.4.2 | |
Samba Samba | =3.4.0 | |
Samba Samba | =3.3.9 | |
Samba Samba | =3.4.5 | |
Samba Samba | =3.3.4 | |
Samba Samba | =3.3.7 | |
Samba Samba | =3.4.1 | |
Samba Samba | =3.3.1 | |
Samba Samba | =3.3.0 | |
Samba Samba | =3.3.6 | |
Samba Samba | =3.5.0 | |
Samba Samba | =3.3.2 | |
Samba Samba | =3.4.4 | |
Samba Samba | =3.4.3 | |
Samba Samba | =3.3.8 | |
Samba Samba | =3.3.5 | |
Samba Samba | =3.3.10 | |
redhat/samba | <0:3.0.33-3.37.el5 | 0:3.0.33-3.37.el5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.