J-Security Center

Title: AutoNice Daemon Program Name Format String Vulnerability

Severity: HIGH

Description:

AutoNice Daemon (AND) is a freely available, open source software package designed to limit the activity of system processes. It provides features such as killing a process that has exceeded specific memory or processor resources.

A problem with the daemon could make it possible for a local user to gain elevated privileges. The problem is in the handling of some process names.

When a process has exceeded one of the pre-specified limits set by AND, the daemon will launch, sending the process SIGKILL, or some other such signal to cease operation of the process.

However, when a program executing contains format strings in it's name, such as "%n%n%n%n" or "%c%c%c%c", AND suffers from a format string vulnerability that can allow the string to write to arbitrary sections of process memory, including the return address on the stack.

This problem could allow a local user to execute a maliciously crafted program, and execute code with the privileges of the AND, typically run as root.

Affected Products:

  • Patrick Schemitz AutoNice Daemon 1.0.0.0
  • Patrick Schemitz AutoNice Daemon 1.0.1
  • Patrick Schemitz AutoNice Daemon 1.0.2
  • Patrick Schemitz AutoNice Daemon 1.0.3
  • Patrick Schemitz AutoNice Daemon 1.0.4

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.