Lucene search

K
drupalDrupal Security TeamDRUPAL-SA-CONTRIB-2012-040
HistoryMar 14, 2012 - 12:00 a.m.

SA-CONTRIB-2012-040 - CKEditor and FCKeditor - multiple XSS, arbitrary code execution

2012-03-1400:00:00
Drupal Security Team
www.drupal.org
5

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS

0.967

Percentile

99.7%

CKEditor and its predecessor FCKeditor allow Drupal to replace textarea fields with the (F)CKEditor - a visual HTML WYSIWYG editor.

The modules have an AJAX callback that filters text to prevent Cross site scripting attacks on content edits. This AJAX callback function contains a number of bugs which allow attackers to chose which filter to execute on chosen text or bypass the filter entirely.

The vulnerability can be used to conduct Cross site scripting (XSS) attacks on privileged users. Attackers can also execute arbitrary PHP code if the core PHP module is enabled. This can happen either directly or by enticing a privileged user to visit a page.

Direct execution of PHP code requires that the attacker has the following privileges:

“access fckeditor” for FCKeditor 6.x
“access ckeditor” for CKEditor 6.x

No additional permissions are required to directly exploit the PHP code execution flaw on CKEditor 7.x.

The XSS issue is
CVE: CVE-2012-2066
The arbitrary code execution issue is
CVE: CVE-2012-2067

Versions affected

  • FCKeditor 6.x-2.x versions prior to 6.x-2.3.
  • CKEditor 6.x-1.x versions prior to 6.x-1.9.
  • CKEditor 7.x-1.x versions prior to 7.x-1.7.

Drupal core is not affected. If you do not use the contributed CKEditor - WYSIWYG HTML editor module, there is nothing you need to do.

Solution

Install the latest version:

  • If you use the FCKeditor module for Drupal 6.x, upgrade to FCKeditor 6.x-2.3.
  • If you use the CKEditor module for Drupal 6.x, upgrade to CKEditor 6.x-1.9.
  • If you use the CKEditor module for Drupal 7.x, upgrade to CKEditor 7.x-1.7.

See also the CKEditor - WYSIWYG HTML editor project page.

Reported by

Fixed by

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS

0.967

Percentile

99.7%

Related for DRUPAL-SA-CONTRIB-2012-040