POJIA破甲
地图 / lib/net/ftp.rb: trusting PASV responses allow client abuse

lib/net/ftp.rb: trusting PASV responses allow client abuse

信息泄露 / 信息泄露 / #1145454

厂商
Ruby
严重程度
低危 · CVSS 3.7
赏金
—
弱点
信息泄露
研究员
@sighook
披露日期
2021-07-08
资产
https://github.com/ruby/ruby
CVE
CVE-2007-1562CVE-2020-8284CVE-2021-31810

该报告还没有中文解读。

原文摘录

摘自原文(5015 字符中的一小部分)
When `net/ftp` performs a passive FTP transfer, it tries to using PASV. Passive mode is what `net/ftp` uses by default. A server response to a PASV command includes the (IPv4) address and port number for the client to connect back to in order to perform the actual data transfer.
原文中的代码
require 'net/ftp'
ftp = Net::FTP.new
ftp.connect(ARGV[0], ARGV[1])
ftp.login
#ftp.passive = true # by default
ftp.getbinaryfile('/whatever', 'whatever')
ftp.close

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

时间线

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

同类报告

Confidential data of users and limited metadata of programs and reports accessible via GraphQLHackerOne · 2019-02-03Sensitive user information disclosure at bonjour.uber.com/marketplace/_rpc via the 'userUuid' parameterUber · 2019-09-09The /reports/:id.json endpoint discloses potentially sensitive user attributes when reporter summary is presentHackerOne · 2025-04-01Customer private program can disclose email any users through invited via usernameHackerOne · 2020-05-15 · $7,500Access to multiple production Grafana dashboardsSnapchat · 2020-11-04 · $10,000Open prod Jenkins instanceSnapchat · 2017-08-19 · $15,000