English
The Internet threat alert status is currently normal. At present, no major epidemics or other serious incidents have been recorded by Kaspersky Lab’s monitoring service. Internet threat level: 1

SocialCMS Multiple Vulnerabilities


Secunia ID

SA44313

CVE-ID

CVE-2012-1780, CVE-2012-1982, CVE-2012-1416

Release Date

21 Apr 2011

Last Change

24 Oct 2012

Criticality

Moderately Critical

Solution Status

Unpatched

Software

SocialCMS 1.x

Where

From remote

Impact
System access

This covers vulnerabilities where malicious people are able to gain system access and execute arbitrary code with the privileges of a local user.

Cross-Site Scripting

Cross-Site Scripting vulnerabilities allow a third party to manipulate the content or behaviour of a web application in a user's browser, without compromising the underlying system.

Different Cross-Site Scripting related vulnerabilities are also classified under this category, including "script insertion" and "cross-site request forgery".

Cross-Site Scripting vulnerabilities are often used against specific users of a website to steal their credentials or to conduct spoofing attacks.

Manipulation of data

This includes vulnerabilities where a user or a remote attacker can manipulate local data on a system, but not necessarily be able to gain escalated privileges or system access.

The most frequent type of vulnerabilities with this impact are SQL-injection vulnerabilities, where a malicious user or person can manipulate SQL queries.

Description

Multiple vulnerabilities have been discovered in SocialCMS, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site request forgery and SQL injection attacks and compromise a vulnerable system.

1) The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to e.g. create an administrative user by tricking an administrator into visiting a malicious web site while being logged-in to the application.

2) Input passed via the "category" POST parameter to search.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.

3) Input passed via the "TR_title" parameter to my_admin/admin1_list_pages.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 "admin1_list_pages.php" permission.

4) An error exists due to the TinyMCE/tinymce/jscripts/tiny_mce/plugins/ibrowser/ibrowser.php script improperly validating uploaded files. This can be exploited to execute arbitrary PHP code by uploading a PHP file with e.g. an appended ".gif" file extension.

Successful exploitation of this vulnerability requires that Apache is not configured to handle the mime-type for media files with e.g. a ".gif" extension (configured to handle by default).

The vulnerabilities are confirmed in version 1.0.2. Other versions may also be affected.

Solution

No official solution is currently available.

Reported by

1) vir0e5
2) Eyup CELIK
3) Ivano Binetti
4) Sammy Forgit

Original Advisory

vir0e5:
http://www.exploit-db.com/exploits/17193/

Eyup CELIK:
http://packetstormsecurity.org/files/110043/SocialCMS-Cross-Site-Scripting-SQL-Injection.html

Ivano Binetti:
http://www.webapp-security.com/2012/03/socialcms/

Sammy Forgit:
http://www.opensyscom.fr/Actualites/socialcms-arbitrary-file-upload-vulnerability.html