Linux Security
Linux Security
Linux Security

Debian: 'samba' symlink attack

Date 17 Apr 2001
Posted By LinuxSecurity Advisories
samba sometimes does not create temporary files safely which may result in a symlink attack.

Debian Security Advisory DSA-048-1                   This email address is being protected from spambots. You need JavaScript enabled to view it.                         Wichert Akkerman
April 18, 2001

Package        : samba
Problem type   : symlink attack
Debian-specific: no

Marcus Meissner discovered that samba was not creating temporary
files safely in two places:

* when a remote user queried a printer queue samba would creates a
  temporary file in which the queue data would be written. This was
  doing using a predictable filename and insecurely, allowing a local
  attacker to trick samba into overwriting arbitrary files.
* smbclient "more" and "mput" commands also creates temporary files
  in /tmp insecurely.

Both problems have been fixed in version 2.0.7-3.2. and we recommand
that you upgrade your samba package immediately.

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

Debian GNU/Linux 2.2 alias potato

  Potato was released for alpha, arm, i386, m68k, powerpc and sparc.

  Source archives:
      MD5 checksum: 82f8739acbd18c2ea8756ca705d17fef
      MD5 checksum: 9db59a582e19daf987c8a0ed967ca191
      MD5 checksum: b5e61ea655d476072fd0365785fea2d0

  Architecture indendent archives:
      MD5 checksum: 5e141a7224ce79f11e9b2064437798ca

  Alpha architecture:
      MD5 checksum: 6a2f7e7a57ab35886c8bfdfe3798d5ea
      MD5 checksum: 742bdfcd38f1601e9da31c45b0998222
      MD5 checksum: eee19cafe89c836727320d08056584e2
      MD5 checksum: edbe76558ce16b42267f9e0836787d49
      MD5 checksum: 7953a130bc363c1c7b62e87a1e0e7121

  ARM architecture:
      MD5 checksum: 6217609b05ceb4a39bcd02abc3524a5d
      MD5 checksum: ca294748daf3e2e154801599c51ffd35
      MD5 checksum: cf095c92a9628ffbe2211b6a1c87d184
      MD5 checksum: 3403c99981c349ea0bf36f557f1e8067
      MD5 checksum: a03ee71fefd16b53a04a5a9046d5f419

  Intel ia32 architecture:
      MD5 checksum: 28d1ca225b39dbba8e427c4a3ff4db5e
      MD5 checksum: 624e9fc767b45fcaee386e83def462b0
      MD5 checksum: ad4b5f2da854a7d4a7224cb8f87eb4bc
      MD5 checksum: 7d344d86f479417398a47c467b15202f
      MD5 checksum: c488d0e582b63a47743943c53a8b94ec

  Motorola 680x0 architecture:
      MD5 checksum: bb80db7568a979598bb97ebe72734111
      MD5 checksum: ea048e0bebea6005ea137fae614ceb1e
      MD5 checksum: 41e467e2f5fa8c37ad590e791c4bb986
      MD5 checksum: 1a64849dde006f826008be44ee2a1fc6
      MD5 checksum: 0fad867c08bd94114d5e6d5b9cfc55df

  PowerPC architecture:
      MD5 checksum: 1b14775f54e370e2c7fcd7adfa0a083f
      MD5 checksum: 4d8d1721a0d62179b3a15c9198e96974
      MD5 checksum: 3dd961b0b1e0665a3b963530d45ce61c
      MD5 checksum: 89cb67b2550f324435a7946ae9441eea
      MD5 checksum: f9bcaa966f37c1f4c244e4d2dfdda9b8

  Sun Sparc architecture:
      MD5 checksum: 22623e59f94d4b9389f415bf551902ad
      MD5 checksum: 0a61c286bcff8265ffac42f9e16c2cfb
      MD5 checksum: a69169f02ef3fdede523f406c36cd12a
      MD5 checksum: 2aa6c4b0a0228e38427c09dec251b487
      MD5 checksum: 7f6971d7cc236fde6307a666852b5e1c

  These files will be moved into*/binary-$arch/ soon.

For not yet released architectures please refer to the appropriate
directory$arch/ .

apt-get: deb stable/updates main
dpkg-ftp: dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.

LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"45","type":"x","order":"1","pct":81.82,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"5","type":"x","order":"2","pct":9.09,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":9.09,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.



bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.