H1514 Shopify API ruby SDK session setup lacks input validation, resulting in SSRF and leakage of client secret
该报告还没有中文解读。
原文摘录
摘自原文(5071 字符中的一小部分)
The [Shopify API ruby SDK](https://github.com/shopify/shopify_api) has the ability for the developer to interact with their shop's REST API. When setting up the gem, a code structure similar to the one below may be used to set up the connection:
原文中的代码
require 'shopify_api'
class SomeController < ApplicationController
def index
ShopifyAPI::Session.setup secret: '<secret>'
session = ShopifyAPI::Session.new('some-shop.myshopify.com')
access_token = session.request_token(params)
end
end默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Shopify 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @jobert · 版权归作者与 Shopify 所有