The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


man issue


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Tue, 6 Feb 2001 16:29:58 +0100
From: Sebastian Krahmer <[email protected]>
To: [email protected]
Subject: man issue

hi,

the format issue of man seems harmless.
the bug lies inhere

   /* XXX */
                                if (!display (NULL, argv[optind], NULL,
                                             basename(argv[optind]))) {
                                        error (0, errno, argv[optind]);
                                        exit_status = NOT_FOUND;
                                }

where error() is format-capable. However root privs are dropped before.
So, you could gain a user-shell if you want.
Please dont run man setgid, as man doesnt drop effective group ID.

l8,
Sebastian

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру