POJIA破甲
地图 / OS Command Injection via egrep in Rake::FileList

OS Command Injection via egrep in Rake::FileList

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

厂商
Ruby
严重程度
未评级
赏金
—
弱点
操作系统命令注入
研究员
@kyoshida
披露日期
2019-08-29
资产
https://github.com/ruby/ruby
CVE
CVE-2020-8130

该报告还没有中文解读。

原文摘录

摘自原文(867 字符中的一小部分)
When a file which has command file name of stating with `|` is in `Rake::FileList`, then `egrep` will execute the command.
原文中的代码
require 'rake'

list = Rake::FileList.new(Dir.glob('*'))
p list
list.egrep(/something/)

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

时间线

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

同类报告

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 · —