Bug 743749 (CVE-2011-3602)

Summary: CVE-2011-3602 radvd: arbitrary file overwrite flaw in set_interface_var()
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aglotov, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-10 21:41:37 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: 744116, 744120, 744121, 744122, 744123    
Bug Blocks: 743759    

Description Vincent Danen 2011-10-05 21:42:20 UTC
An arbitrary file overwrite flaw was found in radvd's set_interface_var() function, where it did not check the interface name (generated by the unprivileged user) and blindly overwrites a filename with a decimal value by the root process.  If a local attacker could create symlinks pointing to arbitrary files on the system, they could overwrite the target file contents.  If only radvd is compromised (e.g. no local access), the attacker may only overwrite files with specific names only (PROC_SYS_IP6_* from radvd's pathnames.h). (CVE-2011-3602)

This is corrected in upstream git [1].

[1] https://github.com/reubenhwk/radvd/commit/92e22ca23e52066da2258df8c76a2dca8a428bcc

Acknowledgements:

Red Hat would like to thank Vasiliy Kulikov of Openwall for reporting this issue.

Comment 1 Huzaifa S. Sidhpurwala 2011-10-07 05:29:58 UTC
This issue does not affect the version of radvd as shipped with Red Hat Enterprise Linux 4.

This issue affects the version of radvd as shipped with Red Hat Enterprise Linux 5 and 6.

This issue affects the version of radvd as shipped with Fedora 14 and 15.

Comment 2 Huzaifa S. Sidhpurwala 2011-10-07 05:30:19 UTC
Public via:
http://thread.gmane.org/gmane.comp.security.oss.general/5973

Comment 3 Huzaifa S. Sidhpurwala 2011-10-07 05:37:03 UTC
Created radvd tracking bugs for this issue

Affects: fedora-all [bug 744116]

Comment 8 Fedora Update System 2011-10-27 03:55:14 UTC
radvd-1.8.2-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-10-27 03:56:43 UTC
radvd-1.8.2-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-10-28 17:22:25 UTC
radvd-1.8.2-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2011-10-28 17:23:14 UTC
radvd-1.8.2-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2011-11-05 01:31:09 UTC
radvd-1.8.2-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Vincent Danen 2016-06-10 21:41:37 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.