Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
______________________________________________________________________________
SUSE Security Announcement
Package: AppArmor
Announcement ID: SUSE-SA:2007:015
Date: Thu, 15 Feb 2007 10:00:00 +0000
Affected Products: SUSE LINUX 10.0
SUSE SLES 9
Novell Linux Desktop 9
Open Enterprise Server
Novell Linux POS 9
Vulnerability Type: AppArmor language additions
Severity (1-10): 2
SUSE Default Package: yes
Cross-References:
Content of This Advisory:
1) Security Vulnerability Resolved:
AppArmor language additions to avoid security related pitfalls
Problem Description
2) Solution or Work-Around
3) Special Instructions and Notes
4) Package Location and Checksums
5) Pending Vulnerabilities, Solutions, and Work-Arounds:
See SUSE Security Summary Report.
6) Authenticity Verification and Additional Information
______________________________________________________________________________
1) Problem Description and Brief Discussion
Two new language features have been added to improve the
confinement provided to applications executing other applications will
confined by AppArmor.
- Two new execute modifiers: 'P' and 'U' are provided and are flavors of the existing 'p' and 'u' modifiers but indicate that the
environment should be stripped across the execute transition.
Using "Ux" and "Px" avoids injecting code using LD_PRELOAD and
similar variables into the started executables by a infected
profiled program.
The environment variable filtering is the same as used for setuid
applications.
- A new permission 'm' is required when an application executes
mmap(2) with protection PROT_EXEC.
This avoids infected binaries escalating the "r" privilege to a
file into a "rx" privilege.
Note that both issues are not directly security fixes, they instead
avoid common problems during profile creation.
These changes also require a new kernel, which we released in December
2006, tracked by our advisory SUSE-SA:2006:079.
Only SUSE Linux Enterprise Server 9 (and related products) and SUSE
Linux 10.0 are affected by this change. SUSE Linux 10.1, SUSE Linux
Enterprise 10 and newer products already contain the new profile
syntax and behavior.
2) Solution or Work-Around
There is no known workaround, please install the update packages.
3) Special Instructions and Notes
Please verify your profiles still work after installation.
Pay close attention to custom developed profiles and locally modified
Novell supplied profiles - which may require additional privileges
when used on a system supporting these new language features.
Please check your existing profiles if "ux" and "px" can be replaced
by the safer "Ux" and "Px" inheritance modifiers.
In general, try to avoid the unconfined modifiers ("ux" and "Ux")
if possible when writing profiles.
4) Package Location and Checksums
The preferred method for installing security updates is to use the YaST
Online Update (YOU) tool. YOU detects which updates are required and
automatically performs the necessary steps to verify and install them.
Alternatively, download the update packages for your distribution manually
and verify their integrity by the methods listed in Section 6 of this
announcement. Then install the packages using the command
rpm -Fhv
Get the latest Linux and open source security news straight to your inbox.