CVE-2010-1160 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks if a victim edits an attacker-owned file in GNU nano.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2010-1160?
CVE-2010-1160 is a low-severity path traversal vulnerability in n/a, published on 16 Apr 2010. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
GNU nano before 2.2.4 does not verify whether a file has been changed before it is overwritten in a file-save operation, which allows local user-assisted attackers to overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim.
Weakness: CWE-59
Which versions are affected by CVE-2010-1160?
It affects 1 product.
Products include Gnu Nano.
How do I fix CVE-2010-1160?
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-2010-1160 being exploited?
There is no known exploitation of CVE-2010-1160 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2010-1160, GHSA-9v2x-x2qc-4cfg.