TITLE:
FreeBSD ee Insecure Temporary File Creation Vulnerability

SECUNIA ADVISORY ID:
SA18404

VERIFY ADVISORY:
http://secunia.com/advisories/18404/

CRITICAL:
Less critical

IMPACT:
Privilege escalation

WHERE:
Local system

OPERATING SYSTEM:
FreeBSD 4.x
http://secunia.com/product/139/
FreeBSD 5.x
http://secunia.com/product/1132/
FreeBSD 6.x
http://secunia.com/product/6778/

DESCRIPTION:
A vulnerability has been reported in FreeBSD, which can be exploited
by malicious, local users to perform certain actions on a vulnerable
system with escalated privileges.

The vulnerability is caused due to temporary files being created
insecurely by the "ee" editor when the user executes a spell check
operation. This can be exploited via symlink attacks to create or
overwrite arbitrary files with the privileges of the user running the
application.

The vulnerability has been reported in all FreeBSD versions.

SOLUTION:
Update FreeBSD or apply patch.

Fixed versions:
2006-01-11 08:02:16 UTC (RELENG_6, 6.0-STABLE)
2006-01-11 08:03:18 UTC (RELENG_6_0, 6.0-RELEASE-p2)
2006-01-11 08:03:55 UTC (RELENG_5, 5.4-STABLE)
2006-01-11 08:04:33 UTC (RELENG_5_4, 5.4-RELEASE-p9)
2006-01-11 08:05:54 UTC (RELENG_5_3, 5.3-RELEASE-p24)
2006-01-11 08:06:47 UTC (RELENG_4, 4.11-STABLE)
2006-01-11 08:07:18 UTC (RELENG_4_11, 4.11-RELEASE-p14)
2006-01-11 08:08:08 UTC (RELENG_4_10, 4.10-RELEASE-p20)

Patch for FreeBSD 4.10, 4.11, 5.3, 5.4, and 6.0:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:02/ee.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:02/ee.patch.asc

PROVIDED AND/OR DISCOVERED BY:
Reported by vendor.

ORIGINAL ADVISORY:
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:02.ee.asc

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

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

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

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

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