{"id":11424,"date":"2026-03-18T10:03:35","date_gmt":"2026-03-18T10:03:35","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/03\/18\/critical-forticlient-sql-injection-vulnerability-enables-arbitrary-database-access\/"},"modified":"2026-03-18T10:03:35","modified_gmt":"2026-03-18T10:03:35","slug":"critical-forticlient-sql-injection-vulnerability-enables-arbitrary-database-access","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/03\/18\/critical-forticlient-sql-injection-vulnerability-enables-arbitrary-database-access\/","title":{"rendered":"Critical FortiClient SQL Injection Vulnerability Enables Arbitrary Database Access"},"content":{"rendered":"<p>    Critical FortiClient SQL Injection Vulnerability Enables Arbitrary Database Access<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A critical <a href=\"https:\/\/cybersecuritynews.com\/fortiweb-sql-injection-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">SQL injection vulnerability<\/a> in Fortinet\u2019s FortiClient Endpoint Management Server (EMS). <a href=\"https:\/\/cybersecuritynews.com\/forticlientems-rce-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tracked as CVE-2026-21643<\/a>, this severe flaw carries a CVSS score of 9.1. It allows unauthenticated attackers to execute arbitrary SQL commands and access sensitive database information.<\/p>\n<p>The issue specifically affects FortiClient EMS version 7.4.4 when multi-tenant mode is active. The root cause stems from a major middleware refactoring in version 7.4.4. Developers changed how the application handles <a href=\"https:\/\/cybersecuritynews.com\/microsoft-mfa-down\/\" target=\"_blank\" rel=\"noreferrer noopener\">database connections and tenant routing.<\/a><\/p>\n<p>During this update, they introduced a flaw in the database connection file that passes the HTTP\u00a0Site header directly into a PostgreSQL\u00a0<code>search_path<\/code>\u00a0query.<\/p>\n<p>Because the application middleware does not validate or sanitize this header, attackers can bypass the intended format string and run their own malicious database queries.<\/p>\n<p>Furthermore, this vulnerable <a href=\"https:\/\/cybersecuritynews.com\/critical-next-js-middleware-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">middleware runs before any authentication checks<\/a>. Exploiting this weakness requires no valid login credentials. Hackers can send a crafted web request to the server over HTTPS.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-forticlient-sql-injection-vulnerability-details\"><strong>FortiClient SQL Injection Vulnerability Details<\/strong><\/h2>\n<p>Bishop Fox researchers found that the publicly accessible<code>\u00a0\/api\/v1\/init_consts<\/code>\u00a0endpoint is the most practical attack vector.<\/p>\n<p>Attackers can first use this endpoint to confirm if the multi-tenant flag is active. If the mode is on, they can inject SQL payloads via the\u00a0Site\u00a0header.<\/p>\n<p>This specific endpoint lacks rate limiting and <a href=\"https:\/\/cybersecuritynews.com\/utg-q-015-hackers-launched-large-scale-brute-force-attacks\/\" target=\"_blank\" rel=\"noreferrer noopener\">brute-force lockout protections<\/a>. More importantly, it directly returns PostgreSQL database error messages in the HTTP response body.<\/p>\n<p>This design flaw allows attackers to rapidly extract hidden data using error-based extraction methods in just a single request, bypassing the need for slower time-based injection.<\/p>\n<p>A successful attack results in total compromise of the management database. Because the database user in the <a href=\"https:\/\/cybersecuritynews.com\/nodebb-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">Fortinet virtual machine runs with PostgreSQL superuser privileges<\/a>, attackers can achieve remote code execution on the underlying host operating system.<\/p>\n<p>They can also <a href=\"https:\/\/cybersecuritynews.com\/digital-certificates\/\" target=\"_blank\" rel=\"noreferrer noopener\">steal administrator passwords, extract digital certificates<\/a>, and view the complete inventory of managed devices.<\/p>\n<p>This level of access lets threat actors modify security policies and push malicious configurations across an organization\u2019s entire network of endpoints.<\/p>\n<p>This aligns with the broader trend of <a href=\"https:\/\/cybersecuritynews.com\/russian-hackers-attacking-network-edge-devices\/\" target=\"_blank\" rel=\"noreferrer noopener\">targeting network edge and management appliances<\/a>, which threat actors highly value.\u200b<\/p>\n<p>Indicators of compromise include unusually long response times (5-20+ seconds) on\u00a0<code>\/api\/v1\/auth\/signin<\/code>\u00a0or\u00a0<code>\/api\/v1\/init_consts<\/code>, as logged in Apache access logs.<\/p>\n<p>Another indicator is repeated HTTP 500 responses from a single IP address on the\u00a0<code>\/api\/v1\/init_consts<\/code>\u00a0endpoint.<\/p>\n<p>Additionally, administrators should monitor PostgreSQL error logs for database\u00a0<code>search_path<\/code>\u00a0statements that contain single quotes, semicolons, or SQL keywords such as<code>\u00a0SELECT<\/code>.<\/p>\n<p>Fortinet addressed this critical issue in version 7.4.5 by replacing format-string interpolation with parameterized identifier handling and securely escaping input.<\/p>\n<p>Organizations using FortiClient EMS 7.4.4 should upgrade to version 7.4.5 immediately to mitigate the risk<\/p>\n<p><a href=\"https:\/\/bishopfox.com\/blog\/cve-2026-21643-pre-authentication-sql-injection-in-forticlient-ems-7-4-4\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Security firm Bishop Fox urges that teams<\/a> unable to apply the patch right away should disable the multi-tenant \u201cSites\u201d feature, as this prevents the vulnerable code path from being executed.<\/p>\n<p>Additionally, administrators should restrict web access to the EMS management interface to trusted internal networks only.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/forticlient-sql-injection-vulnerability\/\">Critical FortiClient SQL Injection Vulnerability Enables Arbitrary Database Access<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Abinaya<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/forticlient-sql-injection-vulnerability\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Critical FortiClient SQL Injection Vulnerability Enables Arbitrary Database Access A critical SQL injection vulnerability in Fortinet\u2019s FortiClient Endpoint Management Server (EMS). Tracked as CVE-2026-21643, this severe flaw carries a CVSS score of 9.1. It allows unauthenticated attackers to execute arbitrary SQL commands and access sensitive database information. The issue specifically affects FortiClient EMS version 7.4.4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-11424","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/11424"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=11424"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/11424\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=11424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=11424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=11424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}