[NEWS] Popper Insecure Temporary File Creation

SecuriTeam <[email protected]>
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Popper Insecure Temporary File Creation
------------------------------------------------------------------------


SUMMARY

" <http://kpopper.sourceforge.net/> Popper is a very simple, easy-to-use 
and functional network messenger." Due to lack of randomness in the names 
given to temporary files used by the Popper application local attackers 
can gain privileges of other users.

DETAILS

Vulnerable Systems:
 * Popper version 1.0 and prior

The vulnerability is caused due to temporary file being created 
insecurely. This can be exploited via symbolic-link attacks and in turn to 
create and/or overwrite arbitrary files with the privileges of the user 
running the affected script.

Code Snips:
popper/popper-send.sh:
#!/bin/sh
echo "$2" > /tmp/.popper-new
echo `date +"%a %l:%m %p"` >> /tmp/.popper-new
cat "$1" >> /tmp/.popper-new
mv -f /tmp/.popper-new /tmp/.popper

The .popper is also used in popper/popper.cpp.

CVE Information:
 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1917> 
CAN-2005-1917


ADDITIONAL INFORMATION

The information has been provided by  <mailto:[email protected]> ZATAZ 
Audits .
The original article can be found at:  
<http://www.zataz.net/adviso/kpopper-06152005.txt> 
http://www.zataz.net/adviso/kpopper-06152005.txt,
 <http://bugs.gentoo.org/show_bug.cgi?id=94475> 
http://bugs.gentoo.org/show_bug.cgi?id=94475



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any kind. 
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.