Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 166132

Summary: CVE-2005-2555 IPSEC lacks restrictions
Product: Red Hat Enterprise Linux 3 Reporter: Mark J. Cox <mjc>
Component: kernelAssignee: John W. Linville <linville>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: lwang, peterm, petrides, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,public=20050806,source=cve,reported=20050816
Fixed In Version: RHSA-2005-663 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-28 15:34:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 156320    
Attachments:
Description Flags
jwltest-sock-policy-cap.patch none

Description Mark J. Cox 2005-08-17 08:37:25 UTC
This issue does not affect linux 2.4 but affects Red Hat Enterprise Linux 3 as
it contains a backport of this functionality.

+++ This bug was initially created as a clone of Bug #166131 +++

A flaw was discovered where xfrm_user_policy was not protected by CAP_NET_ADMIN.
 A local unprivileged user could use this flaw to bypass or create IPSEC
policies.  This is not believed to allow privilege escalation, but could lead to
a denial of service (since there is no upper bounds on creating policies).

A fix was committed to 2.6 to correct this issue:

http://linux.bkbits.net:8080/linux-2.6/cset@42f783aesxFQlEEg0e9GPi4oeVDHbA

Comment 2 John W. Linville 2005-08-17 17:56:18 UTC
Created attachment 117852 [details]
jwltest-sock-policy-cap.patch

Comment 3 John W. Linville 2005-08-17 17:57:38 UTC
Test kernels available here: 
 
   http://people.redhat.com/linville/kernels/rhel3/ 
 
Test reports welcome... :-) 

Comment 5 Ernie Petrides 2005-08-17 20:12:58 UTC
Reverting to ASSIGNED state, since John has completed the testing.

I think that this is RHEL3 U6 respin material.

Comment 7 Ernie Petrides 2005-08-19 22:13:54 UTC
A fix for this problem has just been committed to the RHEL3 U6
patch pool this evening (in kernel version 2.4.21-35.EL).


Comment 10 Red Hat Bugzilla 2005-09-28 15:34:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-663.html