oss-sec mailing list archives
Re: CVE request (and disclosure): ax25d missing setuid return code check
From: Thomas Osterried <thomas () osterried de>
Date: Thu, 11 Aug 2011 14:13:23 +0200
Hello, Am Donnerstag, den 11. August 2011 um 07:20:41 Uhr, schrieb Eren Türkay <eren () pardus org tr> in <20110811052041.GB2043@mutt-is@awesome>:
On Tue, Aug 09, 2011 at 11:33:04PM -0400, Dan Rosenberg wrote:The AX.25 daemon (ax25d), typically provided in the ax25-tools package, allows administrators to associate incoming AX.25, NET/ROM, and ROSE traffic with the execution of an endpoint program (most commonly "node"), which is run under a specified user account. Because ax25d is missing a check on the return code for a setuid call responsible for dropping privileges to the specified user, it may be possible to cause setuid to fail, after which the chosen program will be executed with root privileges. In other words, if you're in the business of handing out unprivileged shells over amateur radio (don't we all? :p ), this would allow for remote compromise.Hello, Thank you for your investigation on the topic. Although this issue seems to be low-priority, it's good to let the maintainers know. I'm CCing Ralf Baechle, and Thomas Osterried who, accordingly to linux-ac25 site, are the maintainers of ax25 utilities.
thank you for your information. I know that code fragment, but I never imagined that if root calls setuid/setgid that this could fail, because root has by definition enough rights. We'l corect lines 617-619 asap. Kind regards, - Thomas dl9sau
Current thread:
- CVE request (and disclosure): ax25d missing setuid return code check Dan Rosenberg (Aug 09)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Eren Türkay (Aug 10)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Thomas Osterried (Aug 11)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Ralf Baechle (Aug 11)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Jon Oberheide (Aug 11)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Solar Designer (Aug 11)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Thomas Osterried (Aug 18)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Thomas Osterried (Aug 11)
- Re: CVE request (and disclosure): ax25d missing setuid return code check Eren Türkay (Aug 10)