Home page logo

fulldisclosure logo Full Disclosure mailing list archives

[Security-news] SA-CONTRIB-2012-149 - Hostip - Cross Site Scripting (XSS)
From: security-news () drupal org
Date: Wed, 3 Oct 2012 17:28:07 +0000 (UTC)

View online: http://drupal.org/node/1802218

  * Advisory ID: DRUPAL-SA-CONTRIB-2012-149
  * Project: Hostip [1] (third-party module)
  * Version: 6.x, 7.x
  * Date: 2012-October-03
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

-------- DESCRIPTION  

Hostip enables you to query the http://www.hostip.info/ [3] 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: Requested


  * 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 [4]
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 [5]
  * If you use the Hostip module for Drupal 7.x, upgrade to Hostip 7.x-1.2 [6]

Also see the Hostip [7] project page.

-------- REPORTED BY  

  * Klaus Purer [8] of the Drupal Security Team

-------- FIXED BY  

  * Vaibhav Jain [9] the module maintainer


  * Klaus Purer [10] of the Drupal Security Team


The Drupal security team can be reached at security at drupal.org or via the
contact form at http://drupal.org/contact [11].

Learn more about the Drupal Security team and their policies [12], writing
secure code for Drupal [13], and securing your site [14].

[1] http://drupal.org/project/hostip
[2] http://drupal.org/security-team/risk-levels
[3] http://www.hostip.info/
[4] http://drupal.org/project/hostip
[5] http://drupal.org/node/1802046
[6] http://drupal.org/node/1802048
[7] http://drupal.org/project/hostip
[8] http://drupal.org/user/262198
[9] http://drupal.org/user/1159692
[10] http://drupal.org/user/262198
[11] http://drupal.org/contact
[12] http://drupal.org/security-team
[13] http://drupal.org/writing-secure-code
[14] http://drupal.org/security/secure-configuration

Security-news mailing list
Security-news () drupal org
Unsubscribe at http://lists.drupal.org/mailman/listinfo/security-news

Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
  • [Security-news] SA-CONTRIB-2012-149 - Hostip - Cross Site Scripting (XSS) security-news (Oct 03)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]