Drupal core path leakage Vulnerability

Source: Internet
Author: User
Tags drupal

Release date: 2012-05-10
Updated on:

Affected Systems:
Drupal 7.x
Description:
--------------------------------------------------------------------------------
Bugtraq id: 53454

Drupal is an open source content management platform.

The path leakage vulnerability exists in Drupal versions earlier than 7.14, and the index of the installation path is leaked through the error message. the q [] parameter of php, des/bootstrap. the request_path function in inc allows remote attackers to obtain sensitive information.

<* Source: Jean Pascal Pereira

Link: http://www.securityfocus.com/archive/1/522662
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Http: // localhost /? Q [] = x

-------------------------------------

Hotfix:

Search:

$ Path = trim ($ path ,'/');

And add the following line above:

If (is_array ($ path) {die ();}

-------------------------------------

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

Drupal
------
The vendor has released a patch to fix this security problem. Please download it from the vendor's homepage:

Http://www.drupal.org/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.