what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Drupal Hostip 6.x / 7.x Cross Site Scripting

Drupal Hostip 6.x / 7.x Cross Site Scripting
Posted Oct 4, 2012
Authored by Klaus Purer | Site drupal.org

Drupal Hostip third party module versions 6.x and 7.x suffer from a cross site scripting vulnerability.

tags | advisory, xss
SHA-256 | db7de571dd6792c25d375829606465797e1b922e6e6a130455fa2f4551da7b71

Drupal Hostip 6.x / 7.x Cross Site Scripting

Change Mirror Download
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

-------- 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 [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

-------- COORDINATED BY
------------------------------------------------------

* Klaus Purer [10] of the Drupal Security Team

-------- CONTACT AND MORE INFORMATION
----------------------------------------

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

Login or Register to add favorites

File Archive:

May 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    16 Files
  • 3
    May 3rd
    38 Files
  • 4
    May 4th
    15 Files
  • 5
    May 5th
    35 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    8 Files
  • 9
    May 9th
    65 Files
  • 10
    May 10th
    19 Files
  • 11
    May 11th
    27 Files
  • 12
    May 12th
    8 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    1 Files
  • 15
    May 15th
    19 Files
  • 16
    May 16th
    66 Files
  • 17
    May 17th
    28 Files
  • 18
    May 18th
    32 Files
  • 19
    May 19th
    13 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    23 Files
  • 23
    May 23rd
    15 Files
  • 24
    May 24th
    49 Files
  • 25
    May 25th
    20 Files
  • 26
    May 26th
    13 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close