#VU93512 Off-by-one in Netatalk - CVE-2024-38439


Vulnerability identifier: #VU93512

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

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 setting ibuf[PASSWDLEN] to "\0" in FPLoginExt in login in etc/uams/uams_pam.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/1096
https://github.com/Netatalk/netatalk/blob/90d91a9ac9a7d6132ab7620d31c8c23400949206/etc/uams/uams_pam.c#L316
https://github.com/Netatalk/netatalk/security/advisories/GHSA-8r68-857c-4rqc
https://netatalk.io/security/CVE-2024-38439


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