CVE-1999-1402: Sun Solaris and BSD UNIX domain socket permission bypass

CVE-1999-1402 · Severity: low · CVSS 2.1 · Published 1997-05-17

A security flaw in older versions of Solaris, SunOS, and BSD-based operating systems causes the system to ignore security permissions on local communication channels known as UNIX domain sockets. This allows any user logged into the system to connect to these channels, even if they are supposed to be restricted. An attacker could use this to send malicious data to running programs, potentially disrupting services or gaining unauthorized control over their operations.

Technologies: Bsd. Vendors: Bsd.

Quick answers

Is CVE-1999-1402 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-1999-1402 being exploited in the wild.
How severe is CVE-1999-1402?
Low severity, with a CVSS score of 2.1, published 17 May 1997.
Which products and versions are affected?
Bsd before 4.4.
Is there a fix for CVE-1999-1402?
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-1402 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-1999-1402?
Check whether you run Bsd at an affected version. 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 handling of UNIX domain sockets (AF_UNIX) where the operating system kernel fails to enforce filesystem-level access permissions. While a socket may appear to have restrictive permissions (e.g., 0700), the kernel allows any local user to successfully call connect() to that socket. This is a local attack vector requiring no special privileges. An attacker can exploit this to interact with local services, inject bogus data, or disrupt the operations of applications that rely on socket permissions for security. The issue was addressed in BSD 4.4 and later versions, but persisted in various commercial Unix implementations of that era.

Affected products

  • Sun Microsystems Solaris 2.x
  • Sun Microsystems SunOS 4.x
  • BSD BSD-based operating systems before 4.4

Timeline

  • 1997-05-17: disclosed: Initial report on Bugtraq regarding Solaris x86 2.5
  • 1997-05-17: advisory

References

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