---
title: "Attack: OpenSMTPD Arbitrary Command Execution CVE-2020-7247"
url: https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=32026
description: Attack Signature Detail Page
---

# Attack: OpenSMTPD Arbitrary Command Execution CVE-2020-7247

## Severity: High

This attack could pose a serious security threat. You should take immediate action to stop any damage or prevent further damage from happening.

## Description

This signature detects the attempts to exploit Arbitrary Command Execution vulnerability on the affected products.

## Additional Information

OpenSMTPD is a free implementation of the server-side SMTP protocol.  

OpenSMTPD is prone to an arbitrary command-execution vulnerability because it fails to sanitize user-supplied input. Specifically, this issue exists in the 'smtp_mailaddr in smtp_session.c' source file. This issue affects the 'uncommented' default configuration. An attacker can exploit this issue through a crafted 'SMTP' session to gain elevated privileges on the 'mbox' deliveries. This may allow attackers to execute arbitrary commands as root on 'lmtp' deliveries.  

An attacker can exploit this issue to execute arbitrary command within the context of the affected application; this may aid in further attacks.

## Affected

- OpenSMTPD version 6.6 is affected; other versions may also be affected.

## Response

Updates are available. Please see the references or vendor advisory for more information.

## Additional Resources

- [CVE-2020-7247](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7247)
- [SecurityFocus BID: 111688](http://www.securityfocus.com/bid/111688)
