lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 02 Apr 2014 19:40:47 -0400
From: Justin Klein Keane <justin@...irish.net>
To: fulldisclosure@...lists.org
Subject: [FD] Drupal Custom Search module XSS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vulnerability Report


Author: Justin C. Klein Keane <justin@...irish.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-----

_______________________________________________
Sent through the Full Disclosure mailing list
http://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Powered by blists - more mailing lists