Lucene search

K
drupalDrupal Security TeamDRUPAL-SA-CONTRIB-2012-084
HistoryMay 23, 2012 - 12:00 a.m.

SA-CONTRIB-2012-084 - Search API - Cross Site Scripting (XSS)

2012-05-2300:00:00
Drupal Security Team
www.drupal.org
3

2.6 Low

CVSS2

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.967 High

EPSS

Percentile

99.7%

CVE: CVE-2012-2712

This module enables you to build searches using a wide range of features, data sources and backends.

The module doesn’t sufficiently sanitize user input in some cases when throwing exceptions or logging errors. This enables attackers to insert arbitrary data into a page by manipulating its URL. Users would have to open such a manipulated URL to see the changed content.

This is only possible in some setups of Search API, specifically when users can manually enter field identifiers in some way – e.g., through an exposed Views sort or with the old Facets module.

Versions affected

  • Search API 7.x-1.x versions prior to 7.x-1.1.

Drupal core is not affected. If you do not use the contributed Search API module, there is nothing you need to do.

Solution

Install the latest version:

  • If you use the Search API module (especially with Views, the old Facets module or other advanced search forms) for Drupal 7.x, upgrade to Search API 7.x-1.1
  • Run update.php to also ensure that previously stored log messages are sanitized.

Also see the Search API project page.

Reported by

Fixed by

Coordinated by

2.6 Low

CVSS2

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.967 High

EPSS

Percentile

99.7%

Related for DRUPAL-SA-CONTRIB-2012-084