Symlink Attack Privilege Escalation in AIX invscoutd
CVE-2004-2697 is a local privilege escalation vulnerability in the Inventory Scout daemon (invscoutd) versions 1.3.0.0 and 2.0.2 for AIX 4.3.3 and 5.1. The vulnerability arises from improper handling of log file paths provided as command line arguments, allowing local users to exploit a symlink attack. By creating a symbolic link from the expected log file to an arbitrary file, an attacker can cause invscoutd to write to files as a privileged user, potentially overwriting critical system files or escalating privileges.
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.
Successful exploitation allows local users to gain elevated privileges by overwriting arbitrary files with the permissions of the invscoutd process, which may run with elevated privileges. This can lead to full system compromise depending on the file targeted.
If you can’t patch tonight, do this now.
Restrict local access to the system to trusted users only. Monitor for suspicious symlink activity in directories used by invscoutd. Consider using filesystem mount options such as 'nosymfollow' where available, and audit the use of invscoutd until a patch is applied.
Patch, then assume compromise.
Upgrade to a patched version of invscoutd that properly validates and sanitizes log file paths, ensuring that symbolic links are not followed or that log files are created securely. IBM may provide patches or updated versions addressing this issue.
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.