CVE-2019-11365

An issue was discovered in atftpd in atftp 0.7.1

published April 20, 2019

CVSS
—
EPSS
4%
Percentile
91.1
In the wild
Unconfirmed
What it is

⚠️ A tiny 3-byte error packet is all it takes to exploit this sneaky stack-based buffer overflow in atftpd! 😱 Think of it like a factory assembly line where one incorrect small part can cause an entire machine to malfunction. Just a few bytes can create a domino effect, triggering mayhem in your server processes! An attacker could send a crafted packet that leads to a stack overflow, causing potential crashes or unpredictable behavior in the atftpd server. This could open the door to further exploits or even a complete service disruption, leaving your network vulnerable and your users frustrated.

Put simply

Think of it like a factory assembly line where one incorrect small part can cause an entire machine to malfunction. Just a few bytes can create a domino effect, triggering mayhem in your server processes! This vulnerability stems from an insecurely implemented `strncpy` call within multiple files in the atftp codebase, allowing remote attackers to trigger a buffer overflow through error packets with 3 or fewer bytes. It's a rather common mistake in C programming that can lead to significant security issues.

What to do

An attacker could send a crafted packet that leads to a stack overflow, causing potential crashes or unpredictable behavior in the atftpd server. This could open the door to further exploits or even a complete service disruption, leaving your network vulnerable and your users frustrated. Review your implementation of atftp, especially the vulnerable `strncpy` calls in `tftpd_file.c`, `tftp_file.c`, `tftpd_mtftp.c`, and `tftp_mtftp.c`. While a patch isn't listed, consider updating to a newer version or applying security best practices to sanitize input and prevent buffer overflows. You've got this! With vigilance and a bit of code auditing, you'll keep your systems safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04288 · 91.1th percentile
Published
2019-04-20T12:57Z
EPSS history
Timeline
  • 20 APR 12:57Z
    An issue was discovered in atftpd in atftp 0.7.1
    cvelistv5