Symlink Attack in Wget 1.9/1.9.1
Wget versions 1.9 and 1.9.1 are vulnerable to a local symlink attack where a local user can create a symbolic link with the same name as a file being downloaded by Wget. When Wget writes the downloaded file, it will follow the symlink and overwrite the target file, potentially allowing the attacker to overwrite arbitrary files on the system.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A local attacker can exploit this vulnerability to overwrite arbitrary files on the system with the contents of a file downloaded by Wget, potentially leading to privilege escalation or denial of service if critical system files are overwritten.
If you can’t patch tonight, do this now.
Restrict local user access to the system and monitor for suspicious symlink creation in directories where Wget is used. Consider running Wget in isolated environments or with reduced privileges to limit the impact of exploitation.
Patch, then assume compromise.
Upgrade to a version of Wget later than 1.9.1 where this vulnerability has been patched. Ensure that Wget properly checks for symlinks before writing files.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.