J-Security Center

Title: Sendfile Local Privileged Arbitrary Command Execution Vulnerability

Severity: MODERATE

Description:

Sendfile is an implementation of the SAFT (simple asynchronous file transfer) protocol for UNIX systems.

The Sendfile daemon, sendfiled, allows local users to configure a post-processing command to pipe data to a user-specified program when new files are received.

When a file is received, the daemon attempts to drop privileges to the recipient user's level prior to running the user-specified command. However, only the effective user and group id are set, making it possible for a user to reclaim the elevated daemon privileges.

As a result, it is possible for an attacker to gain superuser privileges.

Affected Products:

  • Sendfile Sendfile 1.4.0
  • Sendfile Sendfile 1.5.0
  • Sendfile Sendfile 1.6.0
  • Sendfile Sendfile 2.1.0

References:

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.