Samba could allow an attacker to gain access to user`s account

samba-mksmbpasswd-gain-access (15132) The risk level is classified as MediumMedium Risk


Samba could allow a remote attacker to gain unauthorized access to a user's account. The shell script creates accounts with improper password initialization functionality. A remote attacker could supply an invalid password to gain unauthorized access to another user's account.


Gain Access


Upgrade to the latest version of Samba (3.0.2 or later), available from the Samba Web site. See References.

For Red Hat Linux:
Upgrade to the latest samba package, as listed below. Refer to RHSA-2004:064-08 for more information. See References.

Red Hat Enterprise Linux AS (v. 3), ES (v. 3), and WS (v. 3): 3.0.2-6.3E or later

For other distributions:
Contact your vendor for upgrade or patch information.


  • CIAC Information Bulletin O-078: Samba - Unauthorized Access to SMB Accounts.
  • Samba Web site: Download.
  • BID-9637: Samba Insecure User Account Creation Vulnerability
  • CVE-2004-0082: The mksmbpasswd shell script ( in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.
  • OSVDB ID: 3919: Samba Uninitialized Passwords
  • RHSA-2004-064: samba security update

Platforms Affected:

  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • Samba Samba 3.0
  • Samba Samba 3.0.1


Feb 09, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page