CVE-1999-0958: Sudo path traversal in command validation

CVE-1999-0958 · Severity: high · CVSS 7.2 · Published 1998-01-12

A vulnerability in the sudo utility allows local users to bypass security restrictions and run unauthorized commands. By using specific file path techniques, an attacker can trick the system into executing programs that they are normally forbidden from using. This could lead to a complete takeover of the affected system by a standard user.

Quick answers

Is CVE-1999-0958 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-1999-0958 being exploited in the wild.
How severe is CVE-1999-0958?
High severity, with a CVSS score of 7.2, published 12 January 1998.
Which products and versions are affected?
Sudo Project sudo 1.5.x.
Is there a fix for CVE-1999-0958?
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-0958 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-1999-0958?
Check whether anything you run is named in the advisory. 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 path traversal vulnerability exists in sudo versions 1.5.x due to improper validation of command paths. When sudo is configured with exclusion lists, it fails to properly normalize or account for relative directory entries (e.g., '../../'). A local attacker can bypass the access control list by specifying a command using '..' sequences, allowing the execution of arbitrary binaries with elevated privileges. This issue is particularly impactful on configurations relying on command exclusions rather than explicit inclusions.

Affected products

  • Sudo Project sudo 1.5.x

Timeline

  • 1997-12-23: disclosed: Reported to sudo-bugs mailing list.
  • 1998-01-12: advisory: Public disclosure on Bugtraq.

References

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