Remote code execution in Kerio Connect



| Updated: 2025-06-08
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-25267
CWE-ID CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
Kerio Connect
Server applications / Mail servers

Vendor GFI Software

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU110640

Risk: High

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

CVE-ID: CVE-2023-25267

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

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

The vulnerability exists due to a boundary error within the 2FASetup function when processing an authenticated request with a long primaryEMailAddress field to the webmail/api/jsonrpc URI. A remote authenticated user can send a specially crafted HTTP request to the webmail interface, trigger a stack-based buffer overflow 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

Kerio Connect: before 10.0.0

CPE2.3 External links

https://gist.github.com/Frycos/62fa664bacd19a85235be19c6e4d7599
https://gist.github.com/Frycos/62fa664bacd19a85235be19c6e4d7599
https://support.kerioconnect.gfi.com/hc/en-us/articles/9044634878226-Kerio-Connect-10-0-0-Release-Notes
https://support.kerioconnect.gfi.com/hc/en-us/articles/9044634878226-Kerio-Connect-10-0-0-Release-Notes


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.



###SIDEBAR###