Linux Security
Linux Security
Linux Security

Debian: mysql Insecure temporary file vulnerabilities

Date 14 Apr 2004
Posted By LinuxSecurity Advisories
Two scripts contained in the package don't create temporary files in a secure fashion, which could lead to a root exploit.

Debian Security Advisory DSA 483-1                     This email address is being protected from spambots. You need JavaScript enabled to view it.                             Martin Schulze
April 14th, 2004               
- --------------------------------------------------------------------------

Package        : mysql
Vulnerability  : insecure temporary file creation
Problem-Type   : local
Debian-specific: no
CVE IDs        : CAN-2004-0381 CAN-2004-0388
Bugtraq ID     : 9976

Two vulnerabilities have been discovered in mysql, a common database
system.  Two scripts contained in the package don't create temporary
files in a secure fashion.  This could allow a local attacker to
overwrite files with the privileges of the user invoking the MySQL
server, which is often the root user.  The Common Vulnerabilities and
Exposures identifies the following problems:


    The script mysqlbug in MySQL allows local users to overwrite
    arbitrary files via a symlink attack.


    The script mysqld_multi in MySQL allows local users to overwrite
    arbitrary files via a symlink attack.

For the stable distribution (woody) these problems have been fixed in
version 3.23.49-8.6.

For the unstable distribution (sid) these problems will be fixed in
version 4.0.18-6 of mysql-dfsg.

We recommend that you upgrade your mysql, mysql-dfsg and related

Upgrade Instructions
- --------------------

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

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:
      Size/MD5 checksum:      875 5ddb12f783b137adb3713eb833b2b62c
      Size/MD5 checksum:    61688 651060d3e96cee5f78fa3a7627cd89a7
      Size/MD5 checksum: 11861035 a2820d81997779a9fdf1f4b3c321564a

  Architecture independent components:
      Size/MD5 checksum:    16860 a38766469024146e445bff07f93e4954

  Alpha architecture:
      Size/MD5 checksum:   277662 54b823e4e25f4b8e260ac82539bdf84f
      Size/MD5 checksum:   778718 e8d82f4d6e32a14e01e076314a094b03
      Size/MD5 checksum:   163476 5bc948ab4f6ce862ebf9a64f2f7b6042
      Size/MD5 checksum:  3634384 9d6e3871dfa018a87a516188e58dabfb

  ARM architecture:
      Size/MD5 checksum:   238300 9caaa0c9a0d9909ef403f791c8ccf137
      Size/MD5 checksum:   634574 afc1a6cb70f1581a72b2f5904f8abf14
      Size/MD5 checksum:   123878 facc6f6326dc1080019fe54e7516c44a
      Size/MD5 checksum:  2805988 c38af448095a9358fe292f41c7f44fb1

  Intel IA-32 architecture:
      Size/MD5 checksum:   234634 5952137d0b86f6bfefd709ebfc0c624d
      Size/MD5 checksum:   576560 f8f9089209da42c1134f0157e62b4e49
      Size/MD5 checksum:   122462 148429934c68f10c291ae8ffe0a6db8c
      Size/MD5 checksum:  2800616 afd1dfcf5424f78ce7836c96b0dd92b1

  Intel IA-64 architecture:
      Size/MD5 checksum:   315010 a8678f1aa73cb3a4fcbac4e479109311
      Size/MD5 checksum:   848558 63f12a1295198c791956d3d9ba3e6364
      Size/MD5 checksum:   173738 d83526ec16d5ba18b66bb4f0962c44f1
      Size/MD5 checksum:  4000100 78c9cfd1bba1711338a557bd4737832f

  HP Precision architecture:
      Size/MD5 checksum:   280566 e11769ec989c98b9e857c30206246e95
      Size/MD5 checksum:   743656 5fe1d40d737c3de61e7cf31183125526
      Size/MD5 checksum:   140540 29f2b8d797afc05de720bbc4d4a517e9
      Size/MD5 checksum:  3514794 42eaa54090fb0e6497cd1359f29e9304

  Motorola 680x0 architecture:
      Size/MD5 checksum:   227640 a7925061c360f47c83dcffd62b411358
      Size/MD5 checksum:   557758 2545764c1f609dc28e4542e5f3d4b522
      Size/MD5 checksum:   118356 47948f12e32fb25d7619c97b9f735486
      Size/MD5 checksum:  2646508 9f49bf6d899ea6d768cfe51caa54c39c

  Big endian MIPS architecture:
      Size/MD5 checksum:   250892 4143d2fcad7a4b7f981fa666f6fdde65
      Size/MD5 checksum:   688998 e9da91c9477edd7b93ea71d96734ad4c
      Size/MD5 checksum:   133836 c2e14bd75e1a68dabfa6ef4d0002fb30
      Size/MD5 checksum:  2847932 696eac6a3c87c3ff747ed71d4ad03fe4

  Little endian MIPS architecture:
      Size/MD5 checksum:   250550 f9a25d5a5ec4225c95bb799afb8029c6
      Size/MD5 checksum:   688316 db428d75698cd72414b471d91615bd56
      Size/MD5 checksum:   134178 bf6e0a0eb74cc8d7c4afd19f4d05d635
      Size/MD5 checksum:  2839102 bff1d416c52801ef49af1ce4dcce8a17

  PowerPC architecture:
      Size/MD5 checksum:   247660 4e4561d59aa84920423515c7f9177273
      Size/MD5 checksum:   652592 b9f51e0286c747fc58e2aeac9cf3c621
      Size/MD5 checksum:   129376 dc96676d319a7b0ee699b7f7f628e543
      Size/MD5 checksum:  2823002 71952fc874cc70aa45a29bd6eb54cb50

  IBM S/390 architecture:
      Size/MD5 checksum:   249960 0770d4308c3d28208bfc95f4d3473ae8
      Size/MD5 checksum:   607056 b77cf4690bb666dccd2edacbb06c09e5
      Size/MD5 checksum:   126362 eb38bd8e3f363a37dfb54844702fc4fd
      Size/MD5 checksum:  2691074 2e56d9a296a5d87388f1660510c5f8b3

  Sun Sparc architecture:
      Size/MD5 checksum:   241178 5afe949aaacf4e7b66d292ab4efc90c0
      Size/MD5 checksum:   615208 f117524a68678d8d3aac68260e6a24cd
      Size/MD5 checksum:   130352 a3d97c6a8b9e3d460bb6cefab2f8d5fd
      Size/MD5 checksum:  2939242 ef58492f8397d98a25277bccfdf96986

  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
Package info: `apt-cache show ' and


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":"42","type":"x","order":"1","pct":84,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"4","type":"x","order":"2","pct":8,"resources":[]},{"id":"181","title":"Hardly ever","votes":"4","type":"x","order":"3","pct":8,"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.