Saurus CMS Multiple Vulnerabilities


Description   A weakness, a security issue, and multiple vulnerabilities have been discovered in Saurus CMS, which can be exploited by malicious users to disclose potentially sensitive information and by malicious people to bypass certain security restrictions and conduct spoofing, cross-site scripting, request forgery, script insertion, and SQL injection attacks.
1) The application allows users to perform certain actions via HTTP requests without making any validity checks to verify the requests. This can be exploited to e.g. change the password of the administrator, empty the trash, modify certain settings, and delete arbitrary forms.
2) Input passed via the "dialog" parameter to admin/fckeditor_dialog_image.php (when "file_id" is set to a valid file ID) is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal sequences.
3) Input passed via the "id" and "pg" GET parameters to index.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
4) Input passed via the "sites" parameter to index.php (when "op" is set to "search") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
5) Input passed via the "user" parameter to admin/index.php (when "op" is set to "login") is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
Successful exploitation of this vulnerability requires the "Enable site log" option to be enabled (enabled by default).
6) Input passed via the "pg" parameter to index.php is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
Successful exploitation of this vulnerability requires the "Save PHP and MySQL errors into the database" option to be enabled (enabled by default).
7) Input passed to multiple parameters in multiple scripts is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
List of affected scripts and parameters:
<a href="http://[host]/kalender.php?form&vorm&form_field&lahter&month
" target="_blank">http://[host]/kalender.php?form&...field&lahter&month
</a>
<a href="http://[host]/editor/kalender.php?form&vorm&form_field&lahter&month
" target="_blank">http://[host]/editor/kalender.ph...field&lahter&month
</a>
<a href="http://[host]/admin/delete_log.php?tbl
" target="_blank">http://[host]/admin/delete_log.php?tbl
</a>
<a href="http://[host]/admin/edit_adminpage.php?id&op
" target="_blank">http://[host]/admin/edit_adminpage.php?id&op
</a>
<a href="http://[host]/admin/edit_group.php?group_id
" target="_blank">http://[host]/admin/edit_group.php?group_id
</a>
<a href="http://[host]/admin/profile_data.php?profile_id
" target="_blank">http://[host]/admin/profile_data.php?profile_id
</a>
<a href="http://[host]/admin/edit.php?profile_id
" target="_blank">http://[host]/admin/edit.php?profile_id
</a>
<a href="http://[host]/admin/edit_profile.php?pid
" target="_blank">http://[host]/admin/edit_profile.php?pid
</a>
<a href="http://[host]/admin/profiles.php?profile_id&source_table&did
" target="_blank">http://[host]/admin/profiles.php...d&source_table&did
</a>
<a href="http://[host]/admin/sys_alias.php?flt_keel&keel_id
" target="_blank">http://[host]/admin/sys_alias.php?flt_keel&keel_id
</a>
<a href="http://[host]/admin/sys_sonad_loetelu.php?flt_keel
" target="_blank">http://[host]/admin/sys_sonad_loetelu.php?flt_keel
</a>
<a href="http://[host]/admin/permissions.php?selected_group&user_id&group_id&role_id
" target="_blank">http://[host]/admin/permissions....d&group_id&role_id
</a>
<a href="http://[host]/admin/file_source.php?callback
" target="_blank">http://[host]/admin/file_source.php?callback
</a>
<a href="http://[host]/admin/change_config.php?group&flt_keel
" target="_blank">http://[host]/admin/change_config.php?group&flt_keel
</a>
<a href="http://[host]/admin/forms.php?form_id
" target="_blank">http://[host]/admin/forms.php?form_id
</a>
<a href="http://[host]/admin/lang_file.php?flt_keel&keel_id
" target="_blank">http://[host]/admin/lang_file.php?flt_keel&keel_id
</a>
8) Input appended to the URL after /admin/user_management.php and /admin/select_group.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
9) Input passed via the "url" GET parameter to redirect.php and editor/redirect.php is not properly verified before being used to redirect users. This can be exploited to redirect a user to an arbitrary website e.g. when a user clicks a specially crafted link to the affected script hosted on a trusted domain.
10) The application does not properly verify access permissions when accessing admin/check_requirements.php. This can be exploited to disclose e.g. web server version details.
The vu... (truncated text)
     
Vulnerable Products   Vulnerable Software:
Saurus CMS 4.x
     
Solution   Update to version 4.7 (05.07.2013), which fixes vulnerabilities #1 through #8. No official solution is currently available for vulnerabilities #9 and #10.
     
CVE   CVE-2010-1997
     
References   Saurus CMS:
http://www.saurus.info/security-fixes-and-better-browser-compatibility/
Fady Mohammed Osman:
http://www.exploit-db.com/exploits/14644/
waraxe-2013-SA#106:
http://www.waraxe.us/advisory-106.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'meta' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious tag with event found in data
3.2.0
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - POST : suspicious 'meta' tag found in data
3.2.0
SQL injection Prevention - POST : suspicious SELECT statement in data
3.2.0
XSS - Prevention - POST : suspicious 'object' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - POST : possible version probing in data
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious CAST statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DECLARE statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
SQL injection Prevention - POST : suspicious OPENQUERY statement in data
3.2.0
SQL injection Prevention - POST : suspicious CREATE statement in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
SQL injection Prevention - POST : suspicious UPDATE statement in data
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - POST : javascript code found in data
3.2.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
SQL injection Prevention - POST : suspicious UNION statement in data
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - POST : suspicious DROP statement in data
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - POST : suspicious INSERT statement in data
3.2.0
SQL injection Prevention - POST : suspicious OR statement in data
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
SQL injection Prevention - POST : suspicious EXEC statement in data
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENROWSET statement in data
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'div' tag found in data
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
SQL injection Prevention - GET : block comment delimiters in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
SQL injection Prevention - POST : suspicious DECLARE statement in data
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - POST : 'script' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
SQL injection Prevention - POST : suspicious CAST statement in data
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious SQL statement in header
4.0.0
XSS - Prevention - POST : suspicious 'style' tag found in data
5.0.0
XSS - Prevention - POST : javascript code found in data
5.0.0
XSS - Prevention - POST : suspicious tag with event found in data
5.0.0
SQL injection Prevention - POST : suspicious UPDATE statement in data
5.0.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
5.0.0
SQL injection Prevention - POST : suspicious SELECT statement in data
5.0.0
XSS - Prevention - POST : 'location' javascript object found in data
5.0.0
SQL injection Prevention - POST : suspicious DECLARE statement in data
5.0.0
SQL injection Prevention - POST : suspicious OPENROWSET statement in data
5.0.0
SQL injection Prevention - POST : suspicious OPENQUERY statement in data
5.0.0
XSS - Prevention - POST : code allowing cookie access found in data
5.0.0
SQL injection Prevention - POST : suspicious CAST statement in data
5.0.0
SQL injection Prevention - GET : Evasion attempt with CAST and EXEC statements
5.0.0
SQL injection Prevention - POST : suspicious EXEC statement in data
5.0.0
SQL injection Prevention - POST : suspicious CREATE statement in data
5.0.0
SQL injection Prevention - POST : suspicious INSERT statement in data
5.0.0
SQL injection Prevention - GET : Authentication bypass attempt with OR statement
5.0.0
XSS - Prevention - POST : 'script' tag found in data
5.0.0
SQL injection Prevention - POST : suspicious DROP statement in data
5.0.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
5.0.0
SQL injection Prevention - POST : suspicious HAVING statement in data
5.0.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
5.0.0
SQL injection Prevention - POST : suspicious UNION statement in data
5.0.0
XSS - Prevention - POST : suspicious 'div' tag found in data
5.0.0
SQL injection Prevention - POST : suspicious OR statement in data
5.0.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
5.0.0
XSS - Prevention - POST : suspicious 'meta' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'object' tag found in data
5.0.0
SQL injection Prevention - POST : possible version probing in data
5.0.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
5.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2010-05-12 

 Target Type 
Server 

 Possible exploit 
Remote