Remote code execution in ZNC



| Updated: 2024-11-22
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-39844
CWE-ID CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
ZNC
Server applications / IDS/IPS systems, Firewalls and proxy servers

Vendor ZNC

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Input validation error

EUVDB-ID: #VU97707

Risk: High

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

CVE-ID: CVE-2024-39844

CWE-ID: CWE-20 - Improper input validation

Exploit availability: Yes

Description

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input in modtcl  when processing the reason to kick a user from the channel. A remote user can pass specially crafted input to the application and execute arbitrary code on the server.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

ZNC: 1.6.1 rc1 - 1.9.0

CPE2.3 External links

https://wiki.znc.in/Category:ChangeLog
https://github.com/znc/znc/releases/tag/znc-1.9.1
https://wiki.znc.in/ChangeLog/1.9.1
https://www.openwall.com/lists/oss-security/2024/07/03/9
https://www.openwall.com/lists/oss-security/2024/07/03/9


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###