{"id":61034,"date":"2025-08-07T17:19:37","date_gmt":"2025-08-07T17:19:37","guid":{"rendered":""},"modified":"2025-09-15T06:48:57","modified_gmt":"2025-09-15T12:48:57","slug":"cve-2025-52390-high-risk-sql-injection-vulnerability-in-saurus-cms-community-edition","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-52390-high-risk-sql-injection-vulnerability-in-saurus-cms-community-edition\/","title":{"rendered":"<strong>CVE-2025-52390: High-Risk SQL Injection Vulnerability in Saurus CMS Community Edition<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>This article discusses a critical security issue found in Saurus CMS Community Edition, tagged with the CVE number CVE-2025-52390. This vulnerability, specifically a SQL Injection vulnerability, can be traced back to a commit (d886e5b0) made on April 23, 2010. This flaw has a high <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31278-memory-corruption-vulnerability-with-potential-system-compromise\/\"  data-wpil-monitor-id=\"70395\">potential for causing system<\/a> compromise and data leakage, affecting countless websites that utilize the Saurus CMS Community Edition for content management.<br \/>\nThe severity of this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43232-critical-permissions-issue-allowing-app-to-bypass-privacy-preferences-in-macos\/\"  data-wpil-monitor-id=\"69119\">issue lies in the fact that it allows<\/a> attackers to directly manipulate SQL logic and potentially extract sensitive information or escalate their privileges. This means that the security and privacy of user data are at risk, making it a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-21450-critical-cryptographic-issue-due-to-insecure-connection-method\/\"  data-wpil-monitor-id=\"77183\">critical issue<\/a> that needs to be addressed immediately.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-52390<br \/>\nSeverity: Critical (CVSS: 9.1)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43933-high-risk-vulnerability-leading-to-potential-system-compromise-via-password-reset-feature\/\"  data-wpil-monitor-id=\"70824\">Potential System Compromise<\/a> or Data Leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1981240248\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50567-critical-sql-injection-vulnerability-in-saurus-cms-community-edition-4-7-1\/\"  data-wpil-monitor-id=\"79238\">Saurus CMS Community Edition<\/a> | Since commit d886e5b0 (2010-04-23)<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-21120-trusting-http-permission-methods-on-the-server-side-vulnerability-in-dell-avamar\/\"  data-wpil-monitor-id=\"81493\">vulnerability lies in the `prepareSearchQuery()` method<\/a> in `FulltextSearch.class.php`. The application directly concatenates user-supplied input (`$search_word`) into SQL queries without sanitization. This lack of input validation and sanitization allows an attacker to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4784-critical-sql-injection-vulnerability-in-moderec-tourtella\/\"  data-wpil-monitor-id=\"68429\">inject malicious SQL<\/a> payloads into the `$search_word` parameter, thereby manipulating the SQL logic.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2833919524\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Here is a conceptual example of how an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-42959-unauthenticated-replay-attack-exploiting-hmac-reuse\/\"  data-wpil-monitor-id=\"77184\">attacker might exploit<\/a> this vulnerability:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/search HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/x-www-form-urlencoded\nsearch_word=keyword&#039;; DROP TABLE users;--<\/code><\/pre>\n<p>In this example, the attacker sends a request to the server with a `search_word` parameter containing an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-26854-critical-sql-injection-vulnerability-in-joomla-good-search-extension\/\"  data-wpil-monitor-id=\"69040\">SQL injection<\/a> payload. This payload, once processed by the `prepareSearchQuery()` method, would manipulate the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54119-sql-injection-vulnerability-in-adodb-php-database-class-library\/\"  data-wpil-monitor-id=\"82629\">SQL query to delete the &#8216;users&#8217; table from the database<\/a>, resulting in a severe loss of data.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>The most effective way to mitigate this vulnerability is by applying the vendor-supplied patch. The patch addresses the root cause by properly sanitizing the user-supplied input in the `prepareSearchQuery()` method.<br \/>\nFor those who cannot apply the patch immediately, setting up a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) can serve as a temporary measure. These <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-45346-sql-injection-vulnerability-in-bacula-web-resulting-in-potential-system-compromise\/\"  data-wpil-monitor-id=\"67870\">systems can detect and prevent SQL injection<\/a> attacks, providing a layer of protection against this vulnerability.<br \/>\nIn the long term, it is recommended to adopt secure coding practices, including proper <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8279-critical-input-validation-vulnerability-in-gitlab-language-server\/\"  data-wpil-monitor-id=\"68789\">input validation<\/a> and sanitization, to prevent similar vulnerabilities.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This article discusses a critical security issue found in Saurus CMS Community Edition, tagged with the CVE number CVE-2025-52390. This vulnerability, specifically a SQL Injection vulnerability, can be traced back to a commit (d886e5b0) made on April 23, 2010. This flaw has a high potential for causing system compromise and data leakage, affecting countless [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[74],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-61034","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-sql-injection"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/61034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=61034"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/61034\/revisions"}],"predecessor-version":[{"id":75154,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/61034\/revisions\/75154"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=61034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=61034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=61034"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=61034"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=61034"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=61034"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=61034"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=61034"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=61034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}