CVE-2015-5069: Infoleak

Published Jun 26, 2015
·
Updated

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

4 affected components
Wesnoth Battle for Wesnoth<=1.12.2
Wesnoth Battle for Wesnoth=1.13.0
Fedoraproject Fedora=21
Fedoraproject Fedora=22

Event History

Jun 26, 2015
Data Sourced
via Red Hat·10:55 AM
DescriptionSeverityAffected Software
Sep 26, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-5069?

CVE-2015-5069 is classified as a medium severity vulnerability.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203