Advertisement






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

CVE Category Price Severity
CVE-2014-5247 CWE-79 $0 - $5k High
Author Risk Exploitation Type Date
Unknown High Remote 2014-04-03
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N 0.8264 0.97723

CVSS vector description

Our sensors found this exploit at: http://cxsecurity.com/ascii/WLB-2014040018

Below is a copy:

Vulnerability Report


Author: Justin C. Klein Keane <[email protected]>
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


Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum