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:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close