Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Email Security

Serious Vulnerability Discovered in OpenSMTPD

Researchers at cybersecurity firm Qualys have identified a potentially serious vulnerability in OpenSMTPD that can allow remote command execution with elevated privileges.

Researchers at cybersecurity firm Qualys have identified a potentially serious vulnerability in OpenSMTPD that can allow remote command execution with elevated privileges.

OpenSMTPD is the OpenBSD Project’s free and open source implementation of the Simple Mail Transfer Protocol (SMTP). The portable version of OpenSMTPD can run on various BSD and Linux distributions, as well as Apple’s Mac OS X operating system.

According to Qualys, OpenSMTPD is affected by a vulnerability that can allow an attacker to execute arbitrary shell commands with root privileges. The flaw can be exploited locally in OpenSMTPD’s default configuration, and both locally and remotely in the case of OpenSMTPD’s “uncommented” default configuration.

The vulnerability, tracked as CVE-2020-7247, exists in the smtp_mailaddr() function, which is responsible for validating sender and recipient email addresses. Attacks can be carried out via specially crafted emails.

In its advisory for CVE-2020-7247, Qualys says the flaw has been exploitable since May 2018. The company has shared technical details and there is a discussion on Hacker News about the vulnerability and its root cause.

The maintainers of OpenSMTPD have released patches for the vulnerability and they have urged users to apply them as soon as possible. They have also promised to share more information about why the weakness existed “when things settle down.”

This is not the first time Qualys has found vulnerabilities in OpenSMTPD. Back in 2015, the company conducted a security audit for the project and identified several flaws that could have been exploited to cause a DoS condition, leak information, escalate privileges, and execute arbitrary code.

Related: Libarchive Vulnerability Impacts Multiple Linux Distributions

Advertisement. Scroll to continue reading.

Related: Serious Vulnerabilities in Linux Kernel Allow Remote DoS Attacks

Related: Vulnerabilities Found in Linux ‘Beep’ Tool

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

Shaun Khalfan has joined payments giant PayPal as SVP, CISO.

UK cybersecurity agency NCSC announced Richard Horne as its new CEO.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Cloud Security

Cloud security researcher warns that stolen Microsoft signing key was more powerful and not limited to Outlook.com and Exchange Online.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.