CVE-2009-1888: Medium severity Samba Samba vulnerability

Published Jun 19, 2009
·
Updated

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

9 affected components
Samba Samba>=3.2.0<3.2.13
Samba Samba>=3.3.0<3.3.6
Samba Samba>=3.0.31<=3.0.35
Debian Debian Linux=5.0
Debian Debian Linux=4.0
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=8.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 3.0.35
  2. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 3.2.13
  3. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 3.3.6
  4. Configuration

    Disable the dos filemode option if it is enabled.

    Samba dos filemode = disabled

Event History

Jun 19, 2009
Data Sourced
via Red Hat·05:55 PM
DescriptionSeverityAffected Software
Jun 24, 2009
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Jun 25, 2009
Data Sourced
01:30 AM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·01:30 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 29, 2022
Data Sourced
07:43 PM
RemedySeverity

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

Is CVE-2009-1888 related to any specific configurations?

Yes, CVE-2009-1888 is specifically related to configurations where dos filemode is enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203