Buffer Overflow in Solaris 7 x86 ipcs via TZ Environment Variable
A buffer overflow vulnerability exists in the ipcs utility on Solaris 7 x86 systems. The vulnerability is triggered when a local user sets a specially crafted, overly long TZ (timezone) environment variable before executing ipcs. This causes a buffer overflow, potentially allowing the attacker to execute arbitrary code with the privileges of the ipcs process.
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 a local attacker to execute arbitrary code, potentially leading to privilege escalation or full system compromise, depending on the privileges of the ipcs process.
If you can’t patch tonight, do this now.
Restrict local shell access to trusted users only. Monitor for abnormal usage of the ipcs utility and environment variable manipulation. Consider using environment variable sanitization or wrappers to limit the length of environment variables passed to setuid/setgid binaries.
Patch, then assume compromise.
Apply the relevant Solaris patches provided by Sun Microsystems that address this buffer overflow in ipcs. Alternatively, upgrade to a version of Solaris where this vulnerability is fixed.
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.