CVE-2015-5069: Infoleak
Quoting from http://www.openwall.com/lists/oss-security/2015/06/25/2 "Wesnoth implements a text preprocessing language that is used in conjunction with its own game scripting language. It also has a built-in Lua interpreter and API. Both the Lua API and the preprocessor make use of the same function (filesystem::getwmllocation()) to resolve file paths so that only content from the user's data directory can be read.
However, the function did not explicitly disallow files with the .pbl extension. The contents of these files could thus be stored in saved game files or even transmitted directly to other users in a networked game. Among the information that's compromised is a user-defined passphrase used to authenticate uploads to the game's content server.
This issue was found by Toom Lõhmus, then verified and fixed by Ignacio R. Morelle."
There have been two patches, [3] and [4]. Patch [3] did only take lowercase extensions into account and was incomplete. Patch [3] is CVE-2015-5069. Patch [4] is an additional patch, fixing the lowercase problem. Patch [4] is CVE-2015-5070.
[1] http://www.openwall.com/lists/oss-security/2015/06/25/2 [2] https://gna.org/bugs/?23504 (currently restricted)
Patches:
Incomplete fix as it only handles lowercase extensions. CVE-2015-5069 [3] https://github.com/wesnoth/wesnoth/commit/f8914468182e8d0a1551b430c0879ba236fe4d6d
Complete fix, CVE-2015-5070 [4] https://github.com/wesnoth/wesnoth/commit/b2738ffb2fdd2550ececb74f76f75583c43c8b59
Other sources
The (1) filesystem::getwmllocation function in filesystem.cpp and (2) islegalfile function in filesystemboost.cpp in Battle for Wesnoth before 1.12.3 and 1.13.x before 1.13.1 allow remote attackers to obtain sensitive information via vectors related to inclusion of .pbl files from WML.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2015-5069?
CVE-2015-5069 is classified as a medium severity vulnerability.
How do I fix CVE-2015-5069?
To fix CVE-2015-5069, upgrade to version 1.12.3 or later of The Battle for Wesnoth.
What software is affected by CVE-2015-5069?
CVE-2015-5069 affects The Battle for Wesnoth versions up to 1.12.2 and version 1.13.0.
Is CVE-2015-5069 exploitative in nature?
Yes, CVE-2015-5069 can be exploited to execute arbitrary code in the context of the vulnerable application.
How can I check my version to mitigate CVE-2015-5069?
You can check the version of The Battle for Wesnoth you have installed by running the game and checking the version information in the about section.