CVE-2017-16943

The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service…

published November 25, 2017

CVSS
—
EPSS
47%
Percentile
98.8
In the wild
Unconfirmed
What it is

⚠️ A crafty BDAT command can turn your SMTP server into a playground for hackers! This vulnerability in Exim's receive_msg function lives in versions 4.88 and 4.89. 🔥 Think of it like a restaurant with a faulty menu item — a careless chef might accidentally serve spoiled food that could make patrons sick. In this case, the receive_msg function is the chef, and the BDAT command is the hazardous dish that causes chaos. An attacker could exploit this to execute arbitrary code, potentially leading to a full server compromise or a denial of service. It’s like giving someone the keys to the kitchen when all they should have is a take-out menu!

Put simply

Think of it like a restaurant with a faulty menu item — a careless chef might accidentally serve spoiled food that could make patrons sick. In this case, the receive_msg function is the chef, and the BDAT command is the hazardous dish that causes chaos. The vulnerability arises from a use-after-free error in the receive_msg function, allowing remote attackers to manipulate memory and execute arbitrary commands via specially crafted BDAT commands sent to the SMTP daemon.

What to do

An attacker could exploit this to execute arbitrary code, potentially leading to a full server compromise or a denial of service. It’s like giving someone the keys to the kitchen when all they should have is a take-out menu! If you're using Exim 4.88 or 4.89, upgrade to a patched version immediately to mitigate this risk. Regularly audit your servers and configure strict input validations to enhance security. You've got this! Following these steps will keep your server safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.47149 · 98.8th percentile
Published
2017-11-25T17:00Z
EPSS history
Timeline
  • 25 NOV 17:00Z
    The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service…
    cvelistv5