Title: FreeBSD ee ispell_op Function Symlink Arbitrary File Overwrite
Info
Disclosure
Jan 11, 2006
Discovery
Unknown
Dates
Exploit
Unknown
Solution
Unknown
Description
The Easy Editor (ee) on FreeBSD contains a flaw that may allow a malicious local user to overwrite arbitrary files on the system. The issue is due to the program evoking the ispell_op function, which creates temporary files insecurely under ee. It is possible for a user to use a symlink style attack to manipulate arbitrary files with the privileges of the user running ee, resulting in a loss of integrity.
Classification
Location:
Local Access Required
Attack Type:
Race Condition
Impact:
Loss of Integrity
Disclosure:
OSVDB Verified
Solution
Upgrade to version to 4-STABLE, 5-STABLE, or 6-STABLE, or to the RELENG_6_0, RELENG_5_4, RELENG_5_3, RELENG_4_11, or RELENG_4_10 security branch dated after the correction date, as it has been reported to fix this vulnerability. In addition, FreeBSD has released a patch to address this vulnerability. It is also possible to correct the flaw by implementing the following workaround: instead of invoking ispell through ee, invoke it directly.