Saurus CMS Community Edition SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in Saurus CMS Community Edition, specifically in the 'prepareSearchQuery()' method of 'FulltextSearch.class.php'. This vulnerability arises from the application directly concatenating user-supplied input into SQL queries without proper sanitization. As a result, attackers can manipulate the SQL logic to extract sensitive information or escalate privileges. The issue was introduced in commit d886e5b0 on April 23, 2010.

Impact

Exploitation of this vulnerability allows for unauthorized SQL injection, potentially leading to the disclosure of sensitive data such as usernames and password hashes, bypassing access controls, and in some cases, remote code execution depending on the database configuration and privileges.

Reproduction

To reproduce this vulnerability, use the public search interface 'otsing.php' and enter a crafted SQL payload into the search input. The injected SQL will be executed by the application, demonstrating the SQL injection vulnerability.

Remediation

Users are advised to update to a version of Saurus CMS Community Edition that addresses this vulnerability. For developers, it is recommended to replace raw SQL concatenation with prepared statements, sanitize and validate user input before using it in SQL queries, and consider using database abstraction layers or ORM libraries that enforce query safety.

Added: Aug 1, 2025, 4:17 PM
Updated: Aug 1, 2025, 7:34 PM

Vulnerability Rating

Custom Algorithm
spread
1.6
impact
7.5
exploitability
9.7
remediation
8.3
relevance
0.3
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.