CVE-2009-1888: Medium severity Samba Samba vulnerability
A flaw was found in in Samba that could allow an authenticated attacker to modify permissions on a file they should not have access to. Exploiting this flaw is not trivial and a very strict set of conditions must first be met.
The conditions that need to be met to exploit this are as such: 1. You must have write access to the share 2. the 'dos filemodes' option needs to be set (not by default) 3. the random in the sbuf variable must look like a valid stat (we check it in the code called by canwritetofile())
The upstream patch is here: http://git.samba.org/?p=samba.git;a=commitdiff;h=d6c28913f3109d1327a3d1369b6eafd3874b2dca
Other sources
The aclgroupoverride function in smbd/posixacls.c in smbd in Samba 3.0.x before 3.0.35, 3.1.x and 3.2.x before 3.2.13, and 3.3.x before 3.3.6, when dos filemode is enabled, allows remote attackers to modify access control lists for files via vectors related to read access to uninitialized memory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Sambato a version that resolves this vulnerability.Fixed in 3.0.35 - Upgrade
Upgrade
Sambato a version that resolves this vulnerability.Fixed in 3.2.13 - Upgrade
Upgrade
Sambato a version that resolves this vulnerability.Fixed in 3.3.6 - Configuration
Disable the dos filemode option if it is enabled.
Samba dos filemode = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2009-1888?
CVE-2009-1888 is categorized as a medium severity vulnerability due to its potential to allow unauthorized modification of access control lists.
How do I fix CVE-2009-1888?
To fix CVE-2009-1888, users should upgrade Samba to version 3.0.35, 3.2.13, 3.3.6 or later.
What systems are affected by CVE-2009-1888?
CVE-2009-1888 affects Samba versions 3.0.x prior to 3.0.35, 3.1.x, 3.2.x prior to 3.2.13, and 3.3.x prior to 3.3.6.
What kind of attacks can exploit CVE-2009-1888?
CVE-2009-1888 can be exploited by remote attackers to modify access control lists through uninitialized memory access.
Is CVE-2009-1888 related to any specific configurations?
Yes, CVE-2009-1888 is specifically related to configurations where dos filemode is enabled.