Bug 436260 - CVE-2007-6061: insecure tmpfile handling
Summary: CVE-2007-6061: insecure tmpfile handling
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: audacity
Version: rawhide
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Gérard Milmeister
QA Contact: Fedora Extras Quality Assurance
URL: http://www.cve.mitre.org/cgi-bin/cven...
Whiteboard:
Depends On:
Blocks: CVE-2007-6061
TreeView+ depends on / blocked
 
Reported: 2008-03-06 08:09 UTC by Hans de Goede
Modified: 2008-05-13 21:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-13 21:06:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
proposed patch (1.22 KB, patch)
2008-05-02 15:54 UTC, Michael Schwendt
no flags Details | Diff

Description Hans de Goede 2008-03-06 08:09:03 UTC
Description of problem:
Viktor Griph reported that the "AudacityApp::OnInit()" method in file
src/AudacityApp.cpp does not handle temporary files properly.

A local attacker could exploit this vulnerability to conduct symlink attacks to
delete arbitrary files and directories with the privileges of the user running
Audacity.

Here is a patch from gentoo fixing this:
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-sound/audacity/files/CVE-2007-6061.patch?rev=1.1

Comment 1 Michael Schwendt 2008-03-06 10:13:44 UTC
Note the date of the CVE.

Also known upstream and came up again just recently:
http://sourceforge.net/mailarchive/forum.php?thread_name=733f2c730803040303o679d28eeg224689218544d232%40mail.gmail.com&forum_name=audacity-devel

Users with security concerns can set a different tmp path in
the Audacity preferences.

The Gentoo patch (linked by me on audacity-devel yesterday) is
controversial for several reasons.


Comment 2 Tomas Hoger 2008-03-06 13:31:31 UTC
Already tracked via bug #393251

Comment 3 Lubomir Kundrak 2008-04-08 20:00:33 UTC
Final Freeze is in effect now. Security fixes almost certainly warrant a freeze
break, so in case you build a fix for this, mail release engineering as
described here: [2]

[1] https://www.redhat.com/archives/fedora-devel-announce/2008-April/msg00007.html
[2] http://fedoraproject.org/wiki/ReleaseEngineering/FinalFreezePolicy

Thanks!

Comment 4 Huzaifa S. Sidhpurwala 2008-05-02 03:29:28 UTC
Any idea when this will be fixed in fedora?

Comment 5 Michael Schwendt 2008-05-02 15:54:34 UTC
Created attachment 304395 [details]
proposed patch

Would this be sufficient?

Comment 6 Michael Schwendt 2008-05-03 07:05:15 UTC
Upstream accepted this patch.


Comment 7 Tomas Hoger 2008-05-09 06:19:04 UTC
Fixed in upstream 1.3.5:

http://audacity.sourceforge.net/download/features-1.3-a

Security

  * Full fix for issue CVE-2007-6061 on systems where temporary directories can be
    changed by other users (thanks to Michael Schwendt).




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