POJIA破甲
地图 / Remote Code Execution via Extract App Plugin

Remote Code Execution via Extract App Plugin

代码执行 / 操作系统命令注入 / #546753

厂商
Nextcloud
严重程度
中危 · CVSS 8.4
赏金
—
弱点
操作系统命令注入
研究员
@hdbreaker
披露日期
2019-05-30
资产
apps.nextcloud.com
CVE
CVE-2019-5441

该报告还没有中文解读。

原文摘录

摘自原文(6757 字符中的一小部分)
Hi, I found a critical issue in the Add-on "Extract" listed in the Nextcloud Marketplace: https://apps.nextcloud.com/apps/extract (This extension can be installed directly from Nextcloud Application)
原文中的代码
if (extension_loaded ("rar")){
				$rar_file = rar_open($file);
				$list = rar_list($rar_file);
				var_dump($rar_file);
				foreach($list as $fileOpen) {
					$entry = rar_entry_get($rar_file, $fileOpen->getName());
					$entry->extract($dir); // extract to the current dir …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Nextcloud 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @hdbreaker · 版权归作者与 Nextcloud 所有

同类报告

Potential pre-auth RCE on Twitter VPNX / xAI · 2019-08-10 · $20,160Exposed Kubernetes API - RCE/Exposed CredsSnapchat · 2021-07-29 · $25,000Webshell via File Upload on ecjobs.starbucks.com.cnStarbucks · 2019-11-13🐞 OS Command Injection at https://sea-web.gold.razer.com/lab/ws-lookup via IP parameterRazer · — · $2,000RCE via github importGitLab · 2022-11-16RCE using bash command injection on /system/images (toimitilat.lahitapiola.fi)LocalTapiola · —