what you don't know can hurt you

Drupal Shorten URLs 6.x / 7.x Cross Site Scripting

Drupal Shorten URLs 6.x / 7.x Cross Site Scripting
Posted Aug 9, 2012
Authored by Justin C. Klein Keane, Isaac Sukin, Zach Alexander | Site drupal.org

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

tags | advisory, xss
MD5 | 53e7d7fe3d27b7f9816f9530c71334c0

Drupal Shorten URLs 6.x / 7.x Cross Site Scripting

Change Mirror Download
View online: http://drupal.org/node/1719392

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

-------- DESCRIPTION
---------------------------------------------------------

The Shorten URLs module provides an API to shorten URLs via many services
like bit.ly and TinyURL, as well as a block and a page that provide an
interface for easily shortening URLs.

.... Cross Site Scripting via report

The module doesn't sufficiently sanitize user input when displaying shortened
URLs.
This vulnerability is mitigated by several factors:

* The Record Shortened URLs submodule must be installed
* The Views module must /not/ be installed
* An attacker must either have the "use Shorten URLs page" permission or
access to the Shorten URLs block

CVE: Requested

.... Cross Site Scripting via Custom Services List

There is an additional XSS vulnerability where the module doesn't
sufficiently sanitize user input when displaying custom URL shortening
services.

This vulnerability is mitigated by the fact that the "Shorten URLs Custom
Services" submodule must be enabled and the attacker must have the
"administer Shorten URLs custom services" permission, which should not be
given to non-administrators.

CVE: Requested

-------- VERSIONS AFFECTED
---------------------------------------------------

* Shorten URLs 6.x-1.x versions prior to 6.x-1.13.
* Shorten URLs 7.x-1.x versions prior to 7.x-1.2.

Drupal core is not affected. If you do not use the contributed Shorten URLs
[3] module, there is nothing you need to do.

-------- SOLUTION
------------------------------------------------------------

Install the latest version:

* If you use the Shorten URLs module for Drupal 6.x, upgrade to Shorten URLs
6.x-1.13 [4]
* If you use the Shorten URLs module for Drupal 7.x, upgrade to Shorten URLs
7.x-1.2 [5]

Also see the Shorten URLs [6] project page.

-------- REPORTED BY
---------------------------------------------------------

* Zach Alexander [7]
* Justin Klein Keane [8]

-------- FIXED BY
------------------------------------------------------------

* Isaac Sukin [9], the module maintainer
* Zach Alexander [10]
* Justin Klein Keane [11]

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

* Stella Power [12] of the Drupal Security Team
* Greg Knaddison [13] 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 [14].

Learn more about the Drupal Security team and their policies [15], writing
secure code for Drupal [16], and securing your site [17].


[1] http://drupal.org/project/shorten
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/shorten
[4] https://drupal.org/node/1719306
[5] https://drupal.org/node/1719310
[6] http://drupal.org/project/shorten
[7] https://drupal.org/user/1972656
[8] https://drupal.org/user/302225
[9] https://drupal.org/user/201425
[10] https://drupal.org/user/1972656
[11] https://drupal.org/user/302225
[12] http://drupal.org/user/66894
[13] http://drupal.org/user/36762
[14] http://drupal.org/contact
[15] http://drupal.org/security-team
[16] http://drupal.org/writing-secure-code
[17] http://drupal.org/security/secure-configuration

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

July 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close