Bug 712762 (CVE-2011-2473) - CVE-2011-2473 oprofile: do_dump_data function symlink attack via opd_pipe
Summary: CVE-2011-2473 oprofile: do_dump_data function symlink attack via opd_pipe
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2011-2473
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 701504 701505 701506 701507 701508
Blocks: 711681
TreeView+ depends on / blocked
 
Reported: 2011-06-13 03:59 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-24 15:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-29 10:41:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2011-06-13 03:59:00 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-2473 to
the following vulnerability:

Name: CVE-2011-2473
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2473
Assigned: 20110609
Reference: URL:http://openwall.com/lists/oss-security/2011/05/03/1
Reference: URL:http://openwall.com/lists/oss-security/2011/05/10/6
Reference: URL:http://openwall.com/lists/oss-security/2011/05/10/7
Reference: URL:http://openwall.com/lists/oss-security/2011/05/11/1
Reference: CONFIRM:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624212
Reference: DEBIAN:DSA-2254
Reference: URL:http://www.debian.org/security/2011/dsa-2254

The do_dump_data function in utils/opcontrol in OProfile 0.9.6 and
earlier might allow local users to create or overwrite arbitrary files
via a crafted --session-dir argument in conjunction with a symlink
attack on the opd_pipe file, a different vulnerability than
CVE-2011-1760.

Comment 2 Tomas Hoger 2011-06-15 09:45:02 UTC
The fix that was committed upstream is:
http://oprofile.git.sourceforge.net/git/gitweb.cgi?p=oprofile/oprofile;a=commitdiff;h=718de99bbea1e912cea175522fb1b86c72db8de9

It should be noted that this fix does not completely address this issue.  There's still a race condition, which may allow attacker to replace pipe file with a symlink after the opd_pipe type was checked.

Comment 5 Huzaifa S. Sidhpurwala 2011-07-29 10:36:35 UTC
Statement:

Red Hat currently does not plan to address this issue. For details refer to:
https://bugzilla.redhat.com/show_bug.cgi?id=700883#c18


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