CVE-2009-5023 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks on predictable temporary files in Fail2ban actions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-5023?
CVE-2009-5023 is a medium-severity path traversal vulnerability in n/a, published on 10 Jun 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The (1) dshield.conf, (2) mail-buffered.conf, (3) mynetwatchman.conf, and (4) mynetwatchman.conf actions in action.d/ in Fail2ban before 0.8.5 allows local users to write to arbitrary files via a symlink attack on temporary files with predictable names, as demonstrated by /tmp/fail2ban-mail.txt.
Weakness: CWE-59
Which versions are affected by CVE-2009-5023?
It affects 1 product.
Products include Fail2ban Fail2ban.
How do I fix CVE-2009-5023?
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-2009-5023 being exploited?
There is no known exploitation of CVE-2009-5023 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-5023, GHSA-h7g6-frrr-69cx.