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

Fork CMS Multiple Vulnerabilities


Secunia ID

SA48067

CVE-ID

CVE-2012-1188

Release Date

22 Feb 2012

Last Change

07 Mar 2012

Criticality

Less Critical

Solution Status

Unpatched

Software

Fork CMS 3.x

Where

From remote

Impact
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.

Description

Multiple vulnerabilities have been discovered in Fork CMS, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site scripting and request forgery attacks.

1) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. delete a user or a web page when a logged-in administrative user visits a specially crafted web page.

2) Input passed via the "form_token" parameter to private/en/authentication, the "value", "name", "type", "module", "application", and "language" parameters to private/en/locale/edit, and the "position_1", "position_2", "position_3", and "position_4" parameters to private/en/extensions/edit_theme_template 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.

3) Input passed via the "success_message" parameter to private/en/form_builder/edit 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 "FormBuilder Edit" permissions.

4) Input passed via the "site_html_header" and "site_html_footer" parameters to private/en/settings/index 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 "Settings Index" permissions.

5) Input passed via the "name" parameter to /private/en/locale/index 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.

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

Solution

Do not browse untrusted sites or follow untrusted links while being logged-in to the application. Edit the source code to ensure that input is properly sanitised.

Reported by

1) Ivano Binetti.
2-4) Gjoko Krstic, Zero Science Lab.
5) High-Tech Bridge SA.

Original Advisory

Ivano Binetti:
http://ivanobinetti.blogspot.com/2012/02/forkcms-325-csrf-and-xss-0day.html

Zero Science Lab:
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5076.php

HTB23075:
https://www.htbridge.ch/advisory/HTB23075