{"id":1335,"date":"2025-01-13T20:48:02","date_gmt":"2025-01-13T20:48:02","guid":{"rendered":"https:\/\/fusionmindlabs.com\/blogs\/2025\/01\/13\/critical-rce-flaw-in-gfi-keriocontrol-via-crlf-injection\/"},"modified":"2025-01-13T20:48:02","modified_gmt":"2025-01-13T20:48:02","slug":"critical-rce-flaw-in-gfi-keriocontrol-via-crlf-injection","status":"publish","type":"post","link":"https:\/\/fusionmindlabs.com\/blogs\/critical-rce-flaw-in-gfi-keriocontrol-via-crlf-injection\/","title":{"rendered":"Critical RCE Flaw in GFI KerioControl via CRLF Injection"},"content":{"rendered":"\n<\/p>\n<h1>Vulnerability \/ Threat Intelligence<\/h1>\n<h2>GFI KerioControl Security Flaw: A Threat to Network Security<\/h2>\n<h3>By Ravie Lakshmanan, January 9, 2025<\/h3>\n<h4>Image: GFI KerioControl<\/h4>\n<p>Threat actors are attempting to take advantage of a recently disclosed security flaw impacting <a href=\"https:\/\/gfi.ai\/products-and-solutions\/network-security-solutions\/keriocontrol\" rel=\"noopener nofollow\" target=\"_blank\">GFI KerioControl<\/a> firewalls that, if successfully exploited, could allow malicious actors to achieve remote code execution (RCE).<\/p>\n<h4>The Vulnerability<\/h4>\n<p>The <a href=\"https:\/\/thehackernews.com\/2024\/12\/thn-weekly-recap-top-cybersecurity.html\" rel=\"noopener nofollow\" target=\"_blank\">vulnerability<\/a> in question, <strong>CVE-2024-52875<\/strong>, refers to a carriage return line feed (<a href=\"https:\/\/owasp.org\/www-community\/vulnerabilities\/CRLF_Injection\" rel=\"noopener nofollow\" target=\"_blank\">CRLF<\/a>) injection attack, paving the way for <a href=\"https:\/\/capec.mitre.org\/data\/definitions\/34.html\" rel=\"noopener nofollow\" target=\"_blank\">HTTP response splitting<\/a>, which could then lead to a cross-site scripting (XSS) flaw.<\/p>\n<h4>How the Flaw Works<\/h4>\n<p>Successful exploitation of the 1-click RCE flaw permits an attacker to inject malicious inputs into HTTP response headers by introducing carriage return (r) and line feed (n) characters.<\/p>\n<h4>Impact<\/h4>\n<p>The flaw impacts KerioControl versions 9.2.5 through 9.4.5, according to security researcher Egidio Romano, who <a href=\"https:\/\/karmainsecurity.com\/hacking-kerio-control-via-cve-2024-52875\" rel=\"noopener nofollow\" target=\"_blank\">discovered and reported<\/a> the flaw in early November 2024.<\/p>\n<h4>Exploitation Paths<\/h4>\n<p>The HTTP response splitting flaws have been uncovered in the following URI paths:<\/p>\n<ul>\n<li>\/nonauth\/addCertException.cs<\/li>\n<li>\/nonauth\/guestConfirm.cs<\/li>\n<li>\/nonauth\/expiration.cs<\/li>\n<\/ul>\n<h4>How the Flaw Can Be Exploited<\/h4>\n<p>&quot;User input passed to these pages via the &#8216;dest&#8217; GET parameter is not properly sanitized before being used to generate a &#8216;Location&#8217; HTTP header in a 302 HTTP response,&quot; Romano <a href=\"https:\/\/karmainsecurity.com\/KIS-2024-07\" rel=\"noopener nofollow\" target=\"_blank\">said<\/a>. &quot;Specifically, the application does not correctly filter\/remove line feed (LF) characters. This can be exploited to perform HTTP Response Splitting attacks, which, in turn, might allow it to carry out reflected cross-site scripting (XSS) and possibly other attacks.&quot;<\/p>\n<h4>Fix and Proof-of-Concept Exploit<\/h4>\n<p>A fix for the vulnerability was released by GFI on December 19, 2024, with <a href=\"https:\/\/gfi.ai\/products-and-solutions\/network-security-solutions\/keriocontrol\/resources\/documentation\/product-releases\" rel=\"noopener nofollow\" target=\"_blank\">version 9.4.5 Patch 1<\/a>. A proof-of-concept (PoC) exploit has since been made available.<\/p>\n<h4>Attack Vector<\/h4>\n<p>Specifically, an adversary could craft a malicious URL such that an administrator user clicking on it triggers the execution of the PoC hosted on an attacker-controlled server, which then uploads a malicious .img file via the firmware upgrade functionality, granting root access to the firewall.<\/p>\n<h4>Threat Intelligence<\/h4>\n<p>Threat intelligence firm GreyNoise has <a href=\"https:\/\/viz.greynoise.io\/tags\/kerio-control-cve-2024-52875-crlf-injection-attempt?days=30\" rel=\"noopener nofollow\" target=\"_blank\">reported<\/a> that exploitation attempts targeting CVE-2024-52875 commenced back on December 28, 2024, with the attacks originating from seven unique IP addresses from Singapore and Hong Kong to date.<\/p>\n<h4>Internet-Exposed KerioControl Instances<\/h4>\n<p>According to <a href=\"https:\/\/censys.com\/cve-2024-52875\/\" rel=\"noopener nofollow\" target=\"_blank\">Censys<\/a>, there are more than 23,800 internet-exposed GFI KerioControl instances. A majority of these servers are located in Iran, Uzbekistan, Italy, Germany, the United States, Czechia, Belarus, Ukraine, Russia, and Brazil.<\/p>\n<h4>Conclusion<\/h4>\n<p>The exact nature of the attacks exploiting the flaw is presently not known. Users of KerioControl are advised to take steps to secure their instances as soon as possible to mitigate potential threats.<\/p>\n<h4>Follow Us<\/h4>\n<p>Found this article interesting?  Follow us on <a href=\"https:\/\/twitter.com\/thehackersnews\" rel=\"noopener nofollow\" target=\"_blank\">Twitter <i class=\"icon-font icon-twitter\">\uf099<\/i><\/a> and <a href=\"https:\/\/www.linkedin.com\/company\/thehackernews\/\" rel=\"noopener nofollow\" target=\"_blank\">LinkedIn<\/a> to read more exclusive content we post.<\/p>\n\n<br \/><a href=\"https:\/\/thehackernews.com\/2025\/01\/critical-rce-flaw-in-gfi-keriocontrol.html\" rel=\"nofollow noopener\" target=\"_blank\">Source Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vulnerability \/ Threat Intelligence GFI KerioControl Security Flaw: A Threat to Network Security By Ravie Lakshmanan, January 9, 2025 Image: GFI KerioControl Threat actors are attempting to take advantage of&#8230;<\/p>\n","protected":false},"author":19,"featured_media":1336,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[46,39,32,31,33,34,35,40,36,37,42,44,43,41,38,45],"class_list":["post-1335","post","type-post","status-publish","format-standard","has-post-thumbnail","category-cybersecurity","tag-computer-security","tag-cyber-attacks","tag-cyber-news","tag-cyber-security-news","tag-cyber-security-news-today","tag-cyber-security-updates","tag-cyber-updates","tag-data-breach","tag-hacker-news","tag-hacking-news","tag-how-to-hack","tag-information-security","tag-network-security","tag-ransomware-malware","tag-software-vulnerability","tag-the-hacker-news"],"jetpack_featured_media_url":"https:\/\/fusionmindlabs.com\/blogs\/wp-content\/uploads\/sites\/9\/2025\/01\/kerio.png","_links":{"self":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/1335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/comments?post=1335"}],"version-history":[{"count":1,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/1335\/revisions"}],"predecessor-version":[{"id":1337,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/1335\/revisions\/1337"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media\/1336"}],"wp:attachment":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media?parent=1335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/categories?post=1335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/tags?post=1335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}