SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   FLIM Vendors:   Morioka, Tomohiko
(Fedora Issues Fix for RH Linux) FLIM Unsafe Temporary Files May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1011467
SecurityTracker URL:  http://securitytracker.com/id/1011467
CVE Reference:   CVE-2004-0422   (Links to External Site)
Date:  Sep 30 2004
Impact:   Modification of system information, Modification of user information, Root access via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.14.6
Description:   A temporary file vulnerability was reported in the FLIM emacs library. A local user may be able to obtain elevated privileges on the target system.

Debian reported that the application creates temporary files in an unsafe manner. A local user can create a symbolic link (symlink) from a critical file on the system to the temporary file name(s) to be used. Then, when a target user runs emacs, the symlinked file will be overwritten with the privileges of the user running emacs.

Tatsuya Kinoshita is credited with discovering this flaw.

Impact:   A local user can cause files to be overwritten with the privileges of the target user running emacs.
Solution:   Fedora has issued a fix.

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/flim-1.14.4-4.7x.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/flim-1.14.4-4.7x.legacy.noarch.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/flim-xemacs-1.14.4-4.7x.legacy.noarch.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/flim-1.14.4-4.9.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/flim-1.14.4-4.9.legacy.noarch.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/flim-xemacs-1.14.4-4.9.legacy.noarch.rpm

The verification checksums are:

f7236bf2d2a3ed5b024e391918ff286b8f0b10db 7.3/updates/SRPMS/flim-1.14.4-4.7x.legacy.src.rpm
c3683fae4e02fa01490a0e7376b0cc680921c3cc 7.3/updates/i386/flim-1.14.4-4.7x.legacy.noarch.rpm
b895a2ea9a6c7c52f22cabd273306dfea9d318e4 7.3/updates/i386/flim-xemacs-1.14.4-4.7x.legacy.noarch.rpm
20ab29707a40a754bb7259b8940be283eb82f7d0 9/updates/SRPMS/flim-1.14.4-4.9.legacy.src.rpm
136a864b72fe9600caeec27b0804a55013c27dbc 9/updates/i386/flim-1.14.4-4.9.legacy.noarch.rpm
5ce5f434dd078bfb863f595379897ad1e9b37a59 9/updates/i386/flim-xemacs-1.14.4-4.9.legacy.noarch.rpm

Vendor URL:  www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/FLIM/index.html.ja.iso-2022-jp (Links to External Site)
Cause:   Access control error, State error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  7.3, 9

Message History:   This archive entry is a follow-up to the message listed below.
May 2 2004 FLIM Unsafe Temporary Files May Let Local Users Gain Elevated Privileges



 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2004:1581] Updated flim packages fix security vulnerability



--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

-----------------------------------------------------------------------
               Fedora Legacy Update Advisory

Synopsis:          Updated flim resolves security vulnerabilities
Advisory ID:       FLSA:1581
Issue date:        2004-09-30
Product:           Red Hat Linux
Keywords:          Security
Cross references:  https://bugzilla.fedora.us/show_bug.cgi?id=1581
CVE Names:         CAN-2004-0422
-----------------------------------------------------------------------


-----------------------------------------------------------------------
1. Topic:

Updated flim packages that fix a security vulnerability are now available.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386

3. Problem description:

The flim package includes a MIME library for GNU Emacs and XEmacs used by
the wl mail package.

Tatsuya Kinoshita discovered a vulnerability in flim, an emacs library
for working with Internet messages. Temporary files were being created
without taking adequate precautions, and therefore a local user could
potentially overwrite files with the privileges of the user running
emacs. The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2004-0422 to this issue.

Users of flim are advised to upgrade to this updated package, which
contains patches correcting these issues.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the desired RPMs.

Please note that this update is also available via yum and apt.  Many
people find this an easier way to apply updates.  To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.  This assumes that you have yum or
apt-get configured for obtaining Fedora Legacy content. Please visit
http://www.fedoralegacy.org/docs/ for directions on how to configure yum
and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - 1581 - flim insecure temporary file CAN-2004-0422

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/flim-1.14.4-4.7x.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/flim-1.14.4-4.7x.legacy.noarch.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/flim-xemacs-1.14.4-4.7x.legacy.noarch.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/flim-1.14.4-4.9.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/flim-1.14.4-4.9.legacy.noarch.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/flim-xemacs-1.14.4-4.9.legacy.noarch.rpm

7. Verification:

SHA1 sum                                 Package Name
---------------------------------------------------------------------------

f7236bf2d2a3ed5b024e391918ff286b8f0b10db  7.3/updates/SRPMS/flim-1.14.4-4.7x.legacy.src.rpm
c3683fae4e02fa01490a0e7376b0cc680921c3cc  7.3/updates/i386/flim-1.14.4-4.7x.legacy.noarch.rpm
b895a2ea9a6c7c52f22cabd273306dfea9d318e4  7.3/updates/i386/flim-xemacs-1.14.4-4.7x.legacy.noarch.rpm
20ab29707a40a754bb7259b8940be283eb82f7d0  9/updates/SRPMS/flim-1.14.4-4.9.legacy.src.rpm
136a864b72fe9600caeec27b0804a55013c27dbc  9/updates/i386/flim-1.14.4-4.9.legacy.noarch.rpm
5ce5f434dd078bfb863f595379897ad1e9b37a59  9/updates/i386/flim-xemacs-1.14.4-4.9.legacy.noarch.rpm

These packages are GPG signed by Fedora Legacy for security.  Our key is
available from http://www.fedoralegacy org/about/security.php

You can verify each package with the following command:

    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the sha1sum with the following command:

    sha1sum <filename>

8. References:

http://rhn.redhat.com/errata/RHSA-2004-344.html

9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org

---------------------------------------------------------------------

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBW/0FYzuFKFF44qURAqHcAJ46TGv7xTwE7yoW1MrIiXAztnSL3gCg3YJB
EZa1i5AeI4ILuMqU+SEq5KU=
=9/nl
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC