CVE-2004-2697: Symlink Attack Privilege Escalation in AIX invscoutd
- Vendor
- International Business Machines
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2004-2697 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-2697 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-2697?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2004-2697.
- Is there a patch for CVE-2004-2697?
- 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.
- What products are affected by CVE-2004-2697?
- International Business Machines Aix.
- How severe is CVE-2004-2697?
- CVE-2004-2697 has a CVSS v2 score of 6.9 (Medium) and an EPSS score of 0.59% (49th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.