Bug 684924 (CVE-2011-1932, CVE-2011-4675) - widelands: possible arbitrary file overwrite vulnerability
Summary: widelands: possible arbitrary file overwrite vulnerability
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-1932, CVE-2011-4675
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-14 20:00 UTC by Vincent Danen
Modified: 2019-09-29 12:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-05 03:57:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Vincent Danen 2011-03-14 20:00:07 UTC
A Debian bug report [1] noted that a security fix was committed to widelands [2].  The commit log is quite vague, but it looks as though it might be an arbitrary file overwrite vulnerability, judging by the code changes.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617960
[2] http://bazaar.launchpad.net/~widelands-dev/widelands/build-15/revision/5021

Comment 1 Hans de Goede 2011-04-27 17:38:54 UTC
I've prepared a rebase to Widelands "build16", which includes the fix for this, I'm going to push this as an update to all supported Fedora releases.

Comment 2 Vincent Danen 2011-04-27 17:40:34 UTC
Fantastic.  Thank you, Hans.

Comment 3 Vincent Danen 2011-07-05 03:57:59 UTC
build16 is in Fedora now, so this can be closed.

Comment 4 Jan Lieskovsky 2011-12-05 11:31:11 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-1932 to the following vulnerability:

Directory traversal vulnerability in io/filesystem/filesystem.cc in Widelands before 15.1 might allow remote attackers to overwrite arbitrary files via . (dot) characters in a pathname that is used for a file transfer in an Internet game.

References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1932
[2] http://bazaar.launchpad.net/~widelands-dev/widelands/build-15/revision/5021
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617960

--

Common Vulnerabilities and Exposures assigned an identifier CVE-2011-4675 to the following vulnerability:

The pathname canonicalization functionality in io/filesystem/filesystem.cc in Widelands before 15.1 expands leading ~ (tilde) characters to home-directory pathnames but does not restrict use of these characters in strings received from the network, which might allow remote attackers to conduct absolute path traversal attacks and overwrite arbitrary files via a ~ in a pathname that is used for a file transfer in an Internet game, a different
vulnerability than CVE-2011-1932.

References:
[4] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4675
[5] http://bazaar.launchpad.net/~widelands-dev/widelands/build-15/revision/5021
[6] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617960


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