CVE-1999-0298: Slackware and SunOS ypbind file overwrite via path traversal

CVE-1999-0298 · Severity: high · CVSS 7.5 · Published 1997-02-05

A vulnerability exists in the ypbind service, a component used for managing network information and user accounts on older Linux and SunOS systems. When specific configuration options are enabled, attackers can exploit the service to overwrite critical system files. This could lead to a complete system takeover, data loss, or permanent disruption of operations.

Technologies: Slackware Linux. Vendors: Slackware.

Quick answers

Is CVE-1999-0298 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-1999-0298 being exploited in the wild.
How severe is CVE-1999-0298?
High severity, with a CVSS score of 7.5, published 5 February 1997.
Which products and versions are affected?
Slackware Slackware Linux; Sun Microsystems SunOS.
Is there a fix for CVE-1999-0298?
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-0298 attacked?
It is attacked over the network or with local access, in an operating system.
Am I affected by CVE-1999-0298?
Check whether you run Slackware Linux. 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

The ypbind daemon in Slackware Linux and SunOS contains a path traversal vulnerability when the -ypset or -ypsetme command-line options are enabled. These options are intended to allow the NIS domain binding to be changed, but they fail to properly sanitize input. An attacker can use '..' (dot dot) sequences to escape intended directories and overwrite arbitrary files on the system. This attack can be carried out both locally and over the network without authentication, potentially leading to unauthorized privilege escalation or system compromise.

Affected products

  • Slackware Slackware Linux
  • Sun Microsystems SunOS

Timeline

  • 1997-02-05: disclosed

References

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