[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] /etc/passwd corruption
- To: <me@xxxxxxxxxxx>, <full-disclosure@xxxxxxxxxxxxxxxxx>
- Subject: Re: [Full-disclosure] /etc/passwd corruption
- From: John Jacobs <flamdugen@xxxxxxxxxxx>
- Date: Tue, 25 Jan 2011 14:21:52 -0600
Hi,
> On ubuntu lucid, I found a way to add corrupted entries to /etc/passwd
> e.g. "AAA\n", but not to /etc/shadow. Does someone know a way to use
> that for privilege escalation? What is the "+" line handling in
> /etc/passwd for?
Please see "man 5 passwd", I suspect you'll be able to leverage this to
create a system account in /etc/passwd. The file will likely need to contain
a crypt()'d password. Not exactly sure how PAM will handle.
The Ubuntu gents are normally really good about fixing security issues so
you'll likely want to get in touch with them so they can fix it up.
Cheers,
John
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/