Full Disclosure mailing list archives
Re: format strings vulns in /bin/login and /usr/bin/passwd
From: flatline <flatline () blackhat nl>
Date: Sun, 26 Jan 2003 19:55:04 +0100
At 08:13 AM 26-01-2003 +0000, you wrote:
Hello while doing a scan for format strings vulns on util-linux package it came back with the following results../login.c:398 FUNC fprintf ./login.c:425 FUNC fprintf ./login.c:597 FUNC fprintf ./login.c:614 FUNC fprintf ./login.c:775 FUNC printf ./login.c:796 FUNC fprintf ./login.c:800 FUNC fprintf ./login.c:1109 FUNC syslog ./login.c:1119 FUNC printf ./login.c:1127 FUNC fprintf ./login.c:1183 FUNC fprintf ./login.c:1190 FUNC fprintf ./login.c:1201 FUNC fprintf ./passwd.c:161 FUNC printf ./passwd.c:174 FUNC printf ./passwd.c:175 FUNC printf ./passwd.c:176 FUNC printf ./passwd.c:181 FUNC printf ./passwd.c:186 FUNC printf ./passwd.c:197 FUNC printf ./passwd.c:204 FUNC printf ./passwd.c:222 FUNC printf ./passwd.c:223 FUNC printf ./passwd.c:277 FUNC fprintf ./passwd.c:316 FUNC printf ./passwd.c:323 FUNC printf ./passwd.c:331 FUNC printf ./passwd.c:401 FUNC syslog ./passwd.c:410 FUNC printf ./passwd.c:414 FUNC printf ./passwd.c:420 FUNC printfThere is also a few other on other programs but i thought these 2 would be most important since passwd is suid and login could be exploited remotly. I am not very experianced in format strings any help/commets would be great. Would these be able to get exploited?
i'm not sure what utility you used to find those "vulns", but i think that author should have his head examined, or perhaps you're just too ignorant to know how to properly work it. there are *no* format string vulnerabilities in the files you reported. the lack of a format specifier does *not* implicate bad code. printf("you are dumb"); is perfectly legal ..
Regards <mailto:Faulty () b0f net>Faulty () b0f net www.b0f.net<http://uk.yahoo.com/mail/tagline_xtra/?http://uk.docs.yahoo.com/mail_storage.html>With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- Re: format strings vulns in /bin/login and /usr/bin/passwd flatline (Jan 26)
- Re: format strings vulns in /bin/login and /usr/bin/passwd madsaxon (Jan 26)
- Re: format strings vulns in /bin/login and /usr/bin/passwd flatline (Jan 27)
- Re: format strings vulns in /bin/login and /usr/bin/passwd madsaxon (Jan 26)
