频道栏目
首页 > 资讯 > 网站安全 > 正文

AWS XMS 2.5 (importer.php, what param)目录遍历

13-03-30        来源:[db:作者]  
收藏   我要投稿
产品: AWS XMS  
官网: http://www.aws-dms.com  
缺陷版本: 2.5 and probably prior  
已测试版本: 2.5  
Vendor Patch: March 16, 2013   
 
Public Disclosure: March 27, 2013   
 
Vulnerability Type: Path Traversal [CWE-22]  
 
处理状态: 开发者已修复
 
Advisory Details:  
 
   
 
High-Tech Bridge Security Research Lab discovered path traversal vulnerability in AWS XMS, which can be exploited to read contents of arbitrary files.  
 
   
 
   
 
1) Path Traversal in AWS XMS: CVE-2013-2474  
 
   
 
The vulnerability exists due to insufficient filtration of "what" HTTP GET parameter passed to "/importer.php" script before using it in PHP "file()" function. A remote attacker can read contents of arbitrary files on the target system.  
 
   
 
The vulnerable script sets "text/javascript" Content-Type for the output data, which makes exploitation of the vulnerability via a web browser inconvenient. Exploitation via telnet or wget utilities is easier.   
 
   
 
The following PoC (Proof of Concept) code uses wget utility to download source code of "/default.php" file, which contains application configuration data and administrator’s credentials:  
 
   
 
   
 
wget http://www.2cto.com /importer.php?what=defaults.php%00.js  
 
   
 
   
 
To bypass protections against NULL-byte injection (implemented in PHP 5.3.4 and later versions) or enabled "magic_quotes_gpc", alternative techniques based on path normalization and length restrictions can be used.  
 
   
 
The second PoC code uses a large amount of '/' symbols (4096 is sufficient for the majority of platforms) to bypass the restrictions and get source code of the "/default.php" file:  
 
   
 
   
 
wget http://[host]/importer.php?what=defaults.php///////...//////.js  
 
解决方案
   
 
升级到 AWS XMS 2.6  
 
   
 
More Information:  
 
http://www.aws-dms.com/temp.php?use=templates/download.xml#xms-2.6  
 
   
 
相关TAG标签
上一篇:Spamhaus DDoS攻击背后的故事
下一篇:vBulletin 5.0.0 Beta 11 - Beta 28 SQL注射
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站