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

Drupal 7.26 Custom Search 7.x-1.13 Cross Site Scripting

Drupal 7.26 Custom Search 7.x-1.13 Cross Site Scripting
Posted Apr 2, 2014
Authored by Justin C. Klein Keane

Drupal Custom Search module version 7.x-1.13 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 7bdbca78f76cdfb570405b85d714e31737dedaf8f1ea9202a2b52e26625e517d

Drupal 7.26 Custom Search 7.x-1.13 Cross Site Scripting

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vulnerability Report


Author: Justin C. Klein Keane <justin@madirish.net>
Reported: 19 Feb, 2014


Description of Vulnerability:
- -----------------------------
Drupal (http://drupal.org) is a robust content management system (CMS)
written in PHP and MySQL. The Custom Search module "alters the default
search box in many ways. If you need to have options available like in
advanced search, but directly in the search box, this module is for
you." The Drupal Custom Search module
(https://drupal.org/project/custom_search) contains a persistent cross
site scripting (XSS) vulnerability due to the fact that it fails to
sanitize filter labels before display.


Systems affected:
- -----------------
Drupal 7.26 with Custom Search 7.x-1.13 was tested and shown to be
vulnerable


Impact
- ------
Users can inject arbitrary HTML (including JavaScript) in order to
attack site users, including administrative users. This could lead to
account compromise, which could in turn lead to web server compromise,
or expose administrative users to client side malware attacks.


Mitigating factors:
- -------------------
In order to inject arbitrary script malicious users must have the
ability "administer custom search."


Proof of Concept Exploits:
- -----------------
1. Install and enable the Custom Search module
2. Navigate the Custom Search configuration at
?q=admin/config/search/custom_search/results
3. Change the 'Position' drop down to 'Above results'
4. Enter "<script>alert('xss');</script>" in the 'Label text' input
field
5. Click the 'Save Configuration' button
6. Submit any search to view the JavaScript on the results page.


Vendor response:
- ----------------
Vulnerability is fixed in the latest versions of the Custom Search
module (ref https://drupal.org/node/2231665)

- --
Justin C. Klein Keane
http://www.MadIrish.net

The digital signature on this e-mail may be verified using
the public key at http://www.madirish.net/gpgkey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iPwEAQECAAYFAlM8n/8ACgkQkSlsbLsN1gAGXwb9FaDO4jn6RBhqOqLkvFPu3eJE
Ae+E5BEAxJ8wQpZx2dnen5hizNtN0q2o6LkDffwkEaOjZMJZIum23F8ovnxciuiA
B/vg4ZfKav+08Ac8ZJcC5FwKbz0hs6mlMR5aLGQK28PjLShEEtMUEzlfDzhAA1GK
3I3huJIUCszR5nkgYGjvxrHmCVHMEZ9f0hS5L6tfEaLKCSFtyVbM65CfdGcFnrr0
o2+YQd9NQ8NnLYe+wB2VGXgydBseQ8AdshnB6c1WTG7/lHHVqOV2f8vbr4kewoCz
PQln6M5j/UJtaMyMmds=
=Sqil
-----END PGP SIGNATURE-----


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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