Thursday, December 5, 2024
HomeLinuxRCE Vulnerability in OpenSMTPD Mail Server Let Hackers Exploit The Linux Systems...

RCE Vulnerability in OpenSMTPD Mail Server Let Hackers Exploit The Linux Systems Remotely

Published on

SIEM as a Service

Researchers discovered a critical Remote Code Execution vulnerability in the OpenSMTPD Mail server that allows attackers to completely take over the Linux systems remotely.

OpenSMTPD (OpenBSD SMTP Server) is an open-source project that runs in several Unix based operating systems including OpenBSD, FreeBSD,  NetBSD, Linux, macOS.

Newly discovered this RCE Vulnerability in OpenSMTPD lets remote attackers run arbitrary shell commands as root and remotely exploit the operating system that running with the vulnerable OpenBSD SMTP server.

- Advertisement - SIEM as a Service

“The vulnerability existing the OpenSMTPD since December 2015, the out-of-bounds read introduced and the vulnerability can be exploited either as root, after May 2018 (commit a8e22235, “switch smtpd to new grammar”); or as any non-root user, before May 2018.” said Qualys research.

The Vulnerability can be Tracked as CVE-2020-8794, and the vulnerability resides in OpenSMTPD’s client-side code that responsible to delivers mail to remote SMTP servers.

Researchers successfully tested this vulnerability in a different platform such as OpenBSD 6.6 (the current release), OpenBSD 5.9 (the first vulnerable release), Debian 10 (stable), Debian 11 (testing), and Fedora 31.

2 Different Scenario’s to Exploit The OpenSMTPD Mail Server

Researchers state that the vulnerability can be exploited by both client-side and server-side using two different scenarios.

In the client-side attack, Attackers take advantage of the OpenSMTPD default configuration to exploit the vulnerability remotely.

Once the Attacker compromised the servers and taking control of it remotely, he could execute arbitrary shell commands on the vulnerable OpenSMTPD installation.

It can be achieved by the attackers using various types of attacks such as a man-in-the-middle, DNS, or BGP attack.

Researchers from Qualys explained the following way to attackers to perform Server-side exploitation:

First, the attacker must connect to the OpenSMTPD server (which accepts external mail) and send a mail that creates a bounce. Next, when OpenSMTPD connects back to their mail server to deliver this bounce, the attacker can exploit OpenSMTPD’s client-side vulnerability. Last, for their shell commands to be executed, the attacker must (to the best of our knowledge) crash OpenSMTPD and wait until it is restarted (either manually by an administrator, or automatically by a system update or reboot).

Exploit is available for this vulnerability and it will be released on February 26, 2020, we will update you once the exploit PoC Code released.

Users are advised to download OpenSMTPD 6.6.4p1 that released on February 24, 2020, and apply the patch as soon as possible.

Follow us on Twitter, Linkedin, Facebook for Daily cyber security & hacking news updates.

Balaji
Balaji
BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Latest articles

HCL DevOps Deploy / Launch Vulnerability Let Embed arbitrary HTML tags

Recently identified by security researchers, a new vulnerability in HCL DevOps Deploy and HCL...

CISA Warns of Zyxel Firewalls, CyberPanel, North Grid, & ProjectSend Flaws Exploited in Wild

The Cybersecurity and Infrastructure Security Agency (CISA) has issued warnings about several vulnerabilities being...

HackSynth : Autonomous Pentesting Framework For Simulating Cyberattacks

HackSynth is an autonomous penetration testing agent that leverages Large Language Models (LLMs) to...

Fuji Electric Indonesia Hit by Ransomware Attack

Fuji Electric Indonesia has fallen victim to a ransomware attack, impacting its operations and...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

Linux 6.13-rc1 Released: What’s New!

In a recent announcement, Linus Torvalds, the creator of Linux, officially released the first...

“Bootkitty” – A First Ever UEFI Bootkit Attack Linux Systems

Cybersecurity researchers have uncovered the first-ever UEFI bootkit designed to target Linux systems.This...

CRON#TRAP Campaign Attacks Windows Machine With Weaponized Linux Virtual Machine

Weaponized Linux virtual machines are used for offensive cybersecurity purposes, such as "penetration testing"...