Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Full-disclosure] [+] Vulnerability in less version 394 and prior |
|---|---|
| Date: | Tue, 30 Oct 2007 21:04:27 -0800 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 glopeda.com wrote:
From: glopeda@glopeda.com Application: less 394 and prior Type: Format strings vulnerability Priority: Low There exists a format strings bug in the less application present in most flavors of UNIX. It could be leveraged for privilege escalation if the calling application is setuid/setgid and does not properly drop privileges. Meager demonstration: $ export LESSOPEN=%s%n $ less somefile Segmentation fault $ See http://www.glopeda.com for more details.
Still some strangeness on the latest version:
smithj@localhost ~ $ export LESSOPEN=%s%n
smithj@localhost ~ $ less route.txt
*** %n in writable segment detected ***
Aborted
smithj@localhost ~ $ conary query less
less=409-1-0.1[is: x86]
Given the details in the original post, I don't think this is a security
issue. If a program doesn't properly shed s{u,g}id bits, that program
should be fixed. This is still a bug, though, so I'm CCing the
maintainer on this email.
smithj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHKAzbCG91qXPaRekRApAzAJ4mcIN5+vp9IjPWEQKRAP6q4dSl4QCfbkBh
7OPWx46AeHZF/9cGMqrBZHc=
=S7Fs
-----END PGP SIGNATURE-----
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Full-disclosure] [+] Vulnerability in less version 394 and prior, fdlist |
|---|---|
| Next by Date: | Re: [Full-disclosure] spammer wades into US Presidential race, jam |
| Previous by Thread: | Re: [Full-disclosure] [+] Vulnerability in less version 394 and prior, fdlist |
| Next by Thread: | Re: [Full-disclosure] [+] Vulnerability in less version 394 and prior, Jeffrey Denton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |