[Full-disclosure] SimpleCDR-X - Insecure tempfile handling
jonas.thambert at hush.ai
jonas.thambert at hush.ai
Thu Sep 15 19:27:21 BST 2005
SimpleCDR-X - Insecure tempfile handling
+----------------------------------------+
Date: 2005-09-15
URL: http://ogre.rocky-road.net/cdr.shtml
Vendor Notified: Days ago, no answer.
Version: 1.3.3 latest
[- Description -]
Files beeing recorded can be read by any user on the system due to
insecure tempfile handling. By default all tempfiles are copied,
packed and stored in the hidden directory /tmp/.temp while beeing
recorded with incorrect set permissions. Not very nice if you
backup your /etc or any other sensitive files.
Example.
jonas at divinity:/tmp$ ls -al
drwxr-xr-x 2 root root 4096 2005-09-15 18:41 .temp
jonas at divinity:/tmp$ cd .temp/
jonas at divinity:/tmp/.temp$ ls -al
drwxr-xr-x 2 root root 4096 2005-09-15 18:41 .
drwxrwxrwt 11 root root 4096 2005-09-15 18:41 ..
-rw-r--r-- 1 root root 205615104 2005-09-15 18:41
simplecdrxbKtBVC.iso
[- Code Location -]
The function MasterDataCD::createImage in src/masterdatacd.cpp is
hosting the vulnerable code.
[- Exploit -]
Not needed.
Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2
Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services-messenger?l=434
Promote security and make money with the Hushmail Affiliate Program:
http://www.hushmail.com/about-affiliate?l=427
Full-Disclosure is hosted and sponsored by Secunia.