CVE-2007-5742 Path traversal in n/a

Critical 9.0 Published Updated

Remote attackers can read arbitrary files via directory traversal in the Wesnoth WML engine preprocessor.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-5742?

CVE-2007-5742 is a critical path traversal vulnerability in n/a, published on 1 Dec 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in the WML engine preprocessor for Wesnoth 1.2.x before 1.2.8, and 1.3.x before 1.3.12, allows remote attackers to read arbitrary files via ".." sequences in unknown vectors.

Weakness: CWE-22

Which versions are affected by CVE-2007-5742?

It affects 1 product.

Products include Wesnoth Wesnoth.

How do I fix CVE-2007-5742?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2007-5742 being exploited?

There is no known exploitation of CVE-2007-5742 in the wild and no public exploit code.

Sources

Also known as DSA-1421-1, DTSA-90-1, GHSA-vx59-6637-4544.

Is CVE-2007-5742 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free