CVE-1999-1413: Sun Solaris set-gid core dump file overwrite

CVE-1999-1413 · Severity: medium · CVSS 4.6 · Published 1996-08-03

A vulnerability in older versions of the Solaris operating system allows local users to gain elevated privileges. By forcing certain system programs to crash, a user can trick the system into creating or overwriting sensitive files that they would normally not have permission to access. This could allow an attacker to modify system configuration files or gain administrative control over the machine.

Technologies: Sunos. Vendors: Sun.

Quick answers

Is CVE-1999-1413 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-1999-1413 being exploited in the wild.
How severe is CVE-1999-1413?
Medium severity, with a CVSS score of 4.6, published 3 August 1996.
Which products and versions are affected?
Sun Microsystems Solaris 2.4 (SunOS 5.4) before kernel jumbo patch -35.
Is there a fix for CVE-1999-1413?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-1999-1413 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-1999-1413?
Check whether you run Sunos. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A vulnerability exists in the core dump handling of Solaris 2.4 (SunOS 5.4). While the system is intended to prevent core dumps for processes where the effective user ID differs from the real user ID, it fails to properly restrict set-gid programs when the real user is not in the set-gid group. A local attacker can exploit this by creating a symbolic link named 'core' in a writable directory (or leveraging group-writable system directories like /usr/sbin) pointing to a sensitive file (e.g., /etc/passwd). By executing a set-gid utility like 'dmesg' and forcing it to terminate with a signal that triggers a core dump, the attacker can overwrite the target file with the memory image of the process. This can lead to arbitrary file creation or modification with the privileges of the program's group. The issue is resolved by applying kernel jumbo patch -35 or later.

Affected products

  • Sun Microsystems Solaris 2.4 (SunOS 5.4) before kernel jumbo patch -35

Timeline

  • 1996-08-03: disclosed: Initial disclosure on Bugtraq mailing list
  • 1996-08-03: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.