Bug 18878 - Sudo doesn't clean LANG / LC_xxx environment -> possible to exploit locales.
Summary: Sudo doesn't clean LANG / LC_xxx environment -> possible to exploit locales.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: sudo
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
: 18825 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-11 09:28 UTC by Jarno Huuskonen
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-11 10:14:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Jarno Huuskonen 2000-10-11 09:28:28 UTC
Hi,

Sudo doesn't clean LANG / LC_xxx environment. So users can use
something like LANG=../../../tmp and if they can run a program with
higher privileges --> possible to exploit. To fix this sudo should clean
LANG / LC_xxx if they contain '/' (like the new userhelper does).

-Jarno

PS. Users can exploit this only if they can run the programs with sudo and
the program has i18n support.

Comment 1 Bernhard Rosenkraenzer 2000-10-11 10:14:41 UTC
*** Bug 18825 has been marked as a duplicate of this bug. ***

Comment 2 Bernhard Rosenkraenzer 2000-10-11 10:15:16 UTC
Done in 1.6.3p5-2

Comment 3 Daniel Roesen 2000-10-13 15:22:26 UTC
Hm, am I wrong or would this justify a security errata update instead of just 
rawhide?

Changing severity to "security".


Note You need to log in before you can comment on or make changes to this bug.