Sendmail < 8.12.8 Double Pipe smrsh Bypass Overflow

high Nessus Network Monitor Plugin ID 2039
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote host is vulnerable to a flaw that may allow attackers to execute arbitrary commands


smrsh (supplied by Sendmail) is designed to prevent the execution of commands outside of the restricted environment. However, when commands are entered using either double pipes (||) or a mixture of dot and slash characters, a user may be able to bypass the checks performed by smrsh. This can lead to the execution of commands outside of the restricted environment.


Upgrade to Sendmail 8.12.8 or higher.

Plugin Details

Severity: High

ID: 2039

Family: SMTP Servers

Published: 8/18/2004

Updated: 3/6/2019

Dependencies: 2004, 2005

Nessus ID: 11321

Risk Information


Risk Factor: High

Base Score: 8.3

Temporal Score: 6.9

Vector: CVSS2#AV:A/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:OF/RC:C


Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:a:sendmail:sendmail:*:*:*:*:*:*:*:*

Reference Information

CVE: CVE-2002-1165, CVE-2002-1337

BID: 6991, 5845