{"id":5095,"date":"2025-02-14T05:37:34","date_gmt":"2025-02-14T05:37:34","guid":{"rendered":"https:\/\/fusionmindlabs.com\/blogs\/pgsql-vulnerability-exploited-in-zero-day-attacks\/"},"modified":"2025-02-14T05:37:36","modified_gmt":"2025-02-14T05:37:36","slug":"pgsql-vulnerability-exploited-in-zero-day-attacks","status":"publish","type":"post","link":"https:\/\/fusionmindlabs.com\/blogs\/pgsql-vulnerability-exploited-in-zero-day-attacks\/","title":{"rendered":"PGSQL Vulnerability Exploited in Zero-Day Attacks"},"content":{"rendered":"\n<br \/>Zero-Day PostgreSQL Vulnerability Discovered<\/p>\n<div>\n<p class=\"p-author\"><i class=\"icon-font icon-calendar\">\ue802<\/i><span class=\"author\">February 14, 2025<\/span><i class=\"icon-font icon-user\">\ue804<\/i><span class=\"author\">Ravie Lakshmanan<\/span><\/p>\n<p><span class=\"p-tags\">Zero-Day \/ Vulnerability<\/span>\n<\/div>\n<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\">\n<a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjSsVzZMXE_YzNPyUX1Q0hPnz4RVdVaxj6x-DCGIcyLXfR1cRkaIHUcqr3ebiZ77EwqjgAYKfYlKZbT4dIs8ozRB2t2QK4JGEHtzzwS9f8ZRRhmzo_HJObKi8EaXfk_DpdXL4epfXXidevZocWqS0Zy6wZs_COxMIPDKdtVsWEibYa6EH7jiF8V6Kqf6qwv\/s728-rw-e365\/PostgreSQL-zeroday.png\" style=\"clear: left; display: block; float: left; text-align: center;\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p><\/a>\n<\/div>\n<p>According to recent findings from Rapid7, threat actors who exploited a zero-day vulnerability in BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) products in December 2024 likely also exploited a previously unknown SQL injection flaw in PostgreSQL.<\/p>\n<p>The vulnerability, tracked as <strong><a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2025-1094\" rel=\"noopener nofollow\" target=\"_blank\">CVE-2025-1094<\/a><\/strong> (CVSS score: 8.1), affects the PostgreSQL interactive tool psql.<\/p>\n<p>&#8220;An attacker who can generate a SQL injection via CVE-2025-1094 can then achieve arbitrary code execution (ACE) by leveraging the interactive tool&#8217;s ability to run meta-commands,&#8221; security researcher Stephen Fewer <a href=\"https:\/\/www.rapid7.com\/blog\/post\/2025\/02\/13\/cve-2025-1094-postgresql-psql-sql-injection-fixed\/\" rel=\"noopener nofollow\" target=\"_blank\">said<\/a>.<\/p>\n<div class=\"dog_two clear\"><center class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/encrypted-attacks-report-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><img fetchpriority=\"high\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh6e4c8i_pkXRCFnrtqVIygOrARiVnU3_KUgU5mhPl5V4uj8R1KcQOxRLdZ0xm1Rf5AX_cviUAeiiRkTJCe8HXzOeB363590NBXAMv92N9e7zr4m7aKtDq-Q_gpP9QFWecL0oxcVtmqSg9qrGEGqlDbzwNNFKGJe2nlup4tuL7AZzTm0U501YxPGodOc2Fq\/s728-rw-e100\/zz-d.jpg\" width=\"727\" height=\"90\"\/><\/a><\/center><\/div>\n<p>The cybersecurity company further noted that it made the discovery as part of its investigation into <a href=\"https:\/\/thehackernews.com\/2024\/12\/cisa-adds-critical-flaw-in-beyondtrust.html\" rel=\"noopener nofollow\" target=\"_blank\">CVE-2024-12356<\/a>, a recently patched security flaw in BeyondTrust software that allows for unauthenticated remote code execution.<\/p>\n<p>Specifically, it found that &#8220;a successful exploit for CVE-2024-12356 had to include exploitation of CVE-2025-1094 in order to achieve remote code execution.&#8221;<\/p>\n<p>In a coordinated disclosure, the maintainers of PostgreSQL <a href=\"https:\/\/www.postgresql.org\/support\/security\/CVE-2025-1094\/\" rel=\"noopener nofollow\" target=\"_blank\">released<\/a> an update to address the problem in the following versions:<\/p>\n<ul>\n<li>PostgreSQL 17 (Fixed in 17.3)<\/li>\n<li>PostgreSQL 16 (Fixed in 16.7)<\/li>\n<li>PostgreSQL 15 (Fixed in 15.11)<\/li>\n<li>PostgreSQL 14 (Fixed in 14.16)<\/li>\n<li>PostgreSQL 13 (Fixed in 13.19)<\/li>\n<\/ul>\n<p>The vulnerability stems from how PostgreSQL handles invalid UTF-8 characters, thus opening the door to a scenario where an attacker could exploit an SQL injection by making use of a <a href=\"https:\/\/www.postgresql.org\/docs\/current\/app-psql.html#APP-PSQL-META-COMMAND-EXCLAMATION-MARK\" rel=\"noopener nofollow\" target=\"_blank\">shortcut command &#8220;!&#8221;<\/a>, which enables shell command execution.<\/p>\n<div class=\"dog_two clear\"><center class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/saas-security-v1-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><img decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhc0hgq4JZKi-PJjUZ4kdb5ficmXr3IPOg6noFF558_qZ-gXm7vb0OzXU0NzsPAxaqca2tLI5j8NgJW731W0_CuPrUerOmSrZSt4IeANQp6VAQsIAQUzv6aJsxBD6poxHfELq0bcbeevSVy5AyOb9ganALMoA140nZoLOtSb0ck2AZ5rZgb9mWDEyVsbvqK\/s728-rw-e100\/saas-security-v1-d.png\" width=\"727\" height=\"90\"\/><\/a><\/center><\/div>\n<p>&#8220;An attacker can leverage CVE-2025-1094 to perform this meta-command, thus controlling the operating system shell command that is executed,&#8221; Fewer said. &#8220;Alternatively, an attacker who can generate a SQL injection via CVE-2025-1094 can execute arbitrary attacker-controlled SQL statements.&#8221;<\/p>\n<p>The development comes as the U.S. Cybersecurity and Infrastructure Security Agency (CISA) <a href=\"https:\/\/www.cisa.gov\/news-events\/alerts\/2025\/02\/13\/cisa-adds-one-known-exploited-vulnerability-catalog\" rel=\"noopener nofollow\" target=\"_blank\">added<\/a> a security flaw impacting SimpleHelp remote support software (<a href=\"https:\/\/thehackernews.com\/2025\/02\/hackers-exploit-simplehelp-rmm-flaws.html\" rel=\"noopener nofollow\" target=\"_blank\">CVE-2024-57727<\/a>, CVSS score: 7.5) to the Known Exploited Vulnerabilities (<a href=\"https:\/\/www.cisa.gov\/known-exploited-vulnerabilities-catalog\" rel=\"noopener nofollow\" target=\"_blank\">KEV<\/a>) catalog, requiring federal agencies to apply the fixes by March 6, 2025.<\/p>\n<p><\/p>\n<div class=\"cf note-b\">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.<\/div>\n\n<br \/><a href=\"https:\/\/thehackernews.com\/2025\/02\/postgresql-vulnerability-exploited.html\" rel=\"nofollow noopener\" target=\"_blank\">Source Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zero-Day PostgreSQL Vulnerability Discovered \ue802February 14, 2025\ue804Ravie Lakshmanan Zero-Day \/ Vulnerability According to recent findings from Rapid7, threat actors who exploited a zero-day vulnerability in BeyondTrust Privileged Remote Access (PRA)&#8230;<\/p>\n","protected":false},"author":19,"featured_media":5096,"comment_status":"closed","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-5095","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\/02\/PostgreSQL-zeroday.png","_links":{"self":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/5095","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=5095"}],"version-history":[{"count":1,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/5095\/revisions"}],"predecessor-version":[{"id":5097,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/5095\/revisions\/5097"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media\/5096"}],"wp:attachment":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media?parent=5095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/categories?post=5095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/tags?post=5095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}