2005-09-18 09:12:46

by Florian Weimer

[permalink] [raw]
Subject: CAN-2001-1551

Has this issue been fixed? Or is this not a kernel bug?

| From: Wojciech Purczy?ski (wpsupermedia.pl)
| Date: Mon Oct 22 2001 - 03:43:13 CDT
|
| Almost any suid binary may be used to create large files overriding quota
| limits.
|
| When setuid-root binary inherits file descriptors from user process it may
| write to it without respecting the quota restrictions. This is because
| suid process has CAP_SYS_RESOURCE effective capability enabled during
| writing to the file. Quota does not know anything about who opened file
| descriptor and checks current process privileges only. This is bug in
| kernel and not in those setuid-root binaries.

<http://archives.neohapsis.com/archives/bugtraq/2001-10/0179.html>