Bug 743749 (CVE-2011-3602) - CVE-2011-3602 radvd: arbitrary file overwrite flaw in set_interface_var()
Summary: CVE-2011-3602 radvd: arbitrary file overwrite flaw in set_interface_var()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2011-3602
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 744116 744120 744121 744122 744123
Blocks: 743759
TreeView+ depends on / blocked
 
Reported: 2011-10-05 21:42 UTC by Vincent Danen
Modified: 2021-02-24 14:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-10 21:41:37 UTC


Attachments (Terms of Use)

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/.


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