来源:自学PHP网 时间:2015-04-17 13:03 作者: 阅读:次
[导读] Drupal 7.14 = Full Path Disclosure VulnerabilityAbout Drupal:Drupal is an open source content management platform powering millions of websites andapplications. It#39;s bui......
Drupal 7.14 <= Full Path Disclosure Vulnerability "Drupal is an open source content management platform powering millions of websites and Drupal is used by common companies like Ing/Diba, Amnesty International and The White House. Issue: Full Path Disclosure 风险等级: Medium The remote attacker has the possibility to detect the full local path of drupal. In includes/bootstrap.inc, line 2695: ------------------------------------- function request_path() { if (isset($path)) { if (isset($_GET['q'])) { // Under certain conditions Apache's RewriteRule directive prepends the value return $path; ------------------------------------- Exploit / Proof Of Concept: http://www.2cto.com /?q[]=x ------------------------------------- 修复方案: $path = trim($path, '/'); And add the following line above: if(is_array($path)) { die(); } ------------------------------------- |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com