#VU93517 Off-by-one in Netatalk - CVE-2024-38441


Vulnerability identifier: #VU93517

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-38441

CWE-ID: CWE-193

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Netatalk
Server applications / File servers (FTP/HTTP)

Vendor: Netatalk

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one error within the ibuf[len] to "\0" in FPMapName in afp_mapname in etc/afpd/directory.c. A remote attacker can trigger an off-by-one error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Netatalk: 2.4.0 - 3.2.0


External links
https://github.com/Netatalk/netatalk/issues/1098
https://github.com/Netatalk/netatalk/blob/90d91a9ac9a7d6132ab7620d31c8c23400949206/etc/afpd/directory.c#L2333
https://github.com/Netatalk/netatalk/security/advisories/GHSA-mj6v-cr68-mj9q
https://netatalk.io/security/CVE-2024-38441


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability