CVE-2011-4675 Path traversal in n/a
Remote attackers can overwrite arbitrary files via path traversal in Widelands game file transfers due to improper tilde expansion.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-4675?
CVE-2011-4675 is a medium-severity path traversal vulnerability in n/a, published on 5 Dec 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2011-4675?
It affects 1 product.
Products include Widelands Widelands.
How do I fix CVE-2011-4675?
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-2011-4675 being exploited?
There is no known exploitation of CVE-2011-4675 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2011-4675, GHSA-q7p9-49wg-x3hp.