Lucene search

K
drupalDrupal Security TeamDRUPAL-SA-CONTRIB-2012-149
HistoryOct 03, 2012 - 12:00 a.m.

SA-CONTRIB-2012-149 - Hostip - Cross Site Scripting (XSS)

2012-10-0300:00:00
Drupal Security Team
www.drupal.org
5

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

EPSS

0.002

Percentile

60.2%

Hostip enables you to query the <http://www.hostip.info/&gt; API to get the country / state information based on the user’s IP address or a specific IP passed to it. The module fails to sanitize data retrieved from an untrusted third party source, thereby exposing an arbitrary script injection vulnerability (XSS).

This vulnerability is mitigated by the fact that an attacker must have either gained access to that third party source or use techniques such as DNS spoofing in order to inject malicious data.

CVE: CVE-2012-5540

Versions affected

  • Hostip 6.x-2.x versions prior to 6.x-2.2.
  • Hostip 7.x-2.x versions prior to 7.x-2.2.

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

Solution

Install the latest version:

  • If you use the Hostip module for Drupal 6.x, upgrade to Hostip 6.x-1.2
  • If you use the Hostip module for Drupal 7.x, upgrade to Hostip 7.x-1.2

Also see the Hostip project page.

Reported by

Fixed by

Coordinated by

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

EPSS

0.002

Percentile

60.2%

Related for DRUPAL-SA-CONTRIB-2012-149