Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Email Security

Hackers Target Recent Vulnerability in Exim Mail Server

Cybercriminals are already targeting a recently disclosed vulnerability in the open-source Exim mail server, Cybereason reports. 

Cybercriminals are already targeting a recently disclosed vulnerability in the open-source Exim mail server, Cybereason reports. 

Tracked as CVE-2019-10149, the vulnerability was disclosed early this month, but it has existed in Exim since version 4.87 of the mail server, which was introduced in April 6, 2016. All Exim versions through 4.91 are vulnerable.

Exploitable both locally and remotely, the security flaw allows for arbitrary commands with execv(), as root.

Qualys, which discovered the vulnerability, explained last week that, while a local attacker could exploit the issue instantly, a remote attacker would need to keep an active connection to the vulnerable system for several days for successful exploitation.

Now, Cybereason reveals that it has detected an active, ongoing campaign targeting the vulnerability, and that the purpose of the attacks is the installation of a coin miner. However, multiple actors are targeting the security bug. 

Exim powers around 57% of the Internet’s email servers and is used within over half a million organizations. At the moment, there are more than 3.5 million machines at risk worldwide, Cybereason says. 

As part of the analyzed campaign, the actor first achieves remote command execution on the vulnerable machine, then deploys a port scanner to find additional servers to infect. Any existing coin miners are removed from the target, along with defense mechanisms against miners, and cronjobs are used for persistence. 

Advertisement. Scroll to continue reading.

Several payloads are used for the different stages of the attack, including a Python-based port scanner that can infect discovered vulnerable servers with the initial script. An RSA authentication key is added to the SSH server, which allows the attacker to connect as root and take full control of the machine. 

The final stage of the infection involves the download of a password protected zip archive with password “no-password,” which contains an UPX-packed ELF file that hides another ELF executable, none other than the coin miner.

Cybereason’s security researchers notes that their investigation into the attacks is still ongoing and that additional details on the breadth of the campaign, the payloads being used, and more will be revealed as they are discovered. 

The attackers appear to have invested a lot in hiding the intentions of their newly-created worm, using services on the TOR network to host payloads and also creating deceiving files in an attempt to throw off researchers and system administrators. 

The targeted vulnerability has been addressed with the release of Exim version 4.92. To stay protected, users should apply the update as soon as possible. 

“Attackers have started probing for and experimenting with attacks against Exim systems vulnerable to CVE-2019-10149. […] It is critically important for those running Exim to upgrade to version 4.92 or apply the backported fix to vulnerable versions in order to prevent these newly discovered attacks from succeeding,” Satnam Narang, senior research engineer, Tenable, pointed in an emailed comment to SecurityWeek.

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

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.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

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...

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...

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.

Vulnerabilities

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

Vulnerabilities

Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

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...

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.