对Shopify进行一些研究,以确定是否要使用它。 所以,我从使用它的网站上买了东西,然后在每个步骤中查看了视图源
我很震惊地看到,在结帐收据随附的Javascript中,它们的信用卡信息数量惊人,易于查看,因此很容易被黑客捕获。
这是一个样本,我的所有数据都已更改
<script>
Shopify.checkout = {"created_at":"2019-11-13T19:57:17- 05:00","currency":"USD","customer_id":1234566541236,"customer_locale":"en","email":"zippy@hotmail.com"," location_id":null,"order_id":1870404943944,"payment_due":"114.33","payment_url":"https:\/\/elb.deposit.s hopifycs.com\/sessions","phone":null,"presentment_currency":"USD","reservation_time":null,"reservation_time_left":0,"requires_shipping":true,"source_name":"checkout_next","source_identifier":null,"source_url":null,"subtotal_price":"99.00","taxes_included":false,"tax_exempt":false,"tax_lines": [{"price":"6.41","rate":0.06,"title":"OR State Tax"},
{"price":"1.07","rate":0.01,"title":"Oregon Tax"}],
"token":"4c9d55f9bb8898e40fe36e1e75988070",
"total_price":"114.33",
"total_tax":"7.48",
"updated_at":"2019-11-13T19:57:40-05:00",
"line_items": [{"id":"0d2b6dd0ad0186984480fb36817f9ed8","key":"0d2b6dd0ad0186984480fb36817f9ed8","product_id":15925165 42536,"variant_id":15850525491272,"sku":"ESI 071252","vendor":"My Shopify Store","title":" Euro High Flow S1 Male Coupler","variant_title":"3\/8\" Male","image_url":"https:\/\/cdn.shopify.com\/s\/files\/1\/1239\/9256\/products\/DSC01397.jpg? v=1549034841","taxable":true,"requires_shipping":true,"gift_card":false,"price":"24.75","compare_at_pric e":null,"line_price":"49.50","properties": {},
"quantity":2,"grams":85,"fulfillment_service":"manual","applied_discounts":[]},
{"id":"062af9384331b020660f9a021afb55ed","key":"062af9384331b020660f9a021afb55ed","product_id":142986457 9144,"variant_id":12867363536968,"sku":"ESI 071202","vendor":"My Shopify Store","title":" Euro High Flow S1 Female Coupler","variant_title":"3\/8\" Female","image_url":"https:\/\/cdn.shopify.com\/s\/files\/1\/1239\/9256\/products\/0U9A6198.jpg? v=1568991566","taxable":true,"requires_shipping":true,"gift_card":false,"price":"24.75","compare_at_pric e":null,"line_price":"49.50","properties":{},
"quantity":2,"grams":85,"fulfillment_service":"manual","applied_discounts":[]}],
"gift_cards":[],
"shipping_rate":{"handle":"BOXIFY (2.0)-USPS%20Priority%20Mail%7CC7739467-7.85","price":"7.85","title":"USPS Priority Mail"},
"shipping_address": {"id":1234566543458,"first_name":"Tim","last_name":"Simmons","phone":"+15555555555","company":"","address1":"123 Main Street","address2":"","city":"Juxnus","province":"Oregon","province_code":"OR","country":"United States","country_code":"US","zip":"12345"},
**"credit_card": {"first_name":"Tim","last_name":"Simmons","first_digits":"123456","last_digits":"9876","brand":"american_express","expiry_month":1,"expiry_year":2085,
"customer_id":1234566541236},
"billing_address": {"id":1234566543458,"first_name":"Tim","last_name":"Simmons","phone":"+19148260061","company":"","address1":"123 Main Street","address2":"","city":"Juxnus","province":"Oregon","province_code":"OR","country":"United States","country_code":"US","zip":"12345"},**
"discount":null};
</script>
这是标准行为吗?是否显示10位数字的抄送号码,手机号码,到期信息和帐单邮寄地址?
如果Shopify中有人监控
如果这是标准行为或开发人员错误,请回答,我当然希望是后者!
答案 0 :(得分:1)
如果站点存在诸如某种XSS攻击之类的安全漏洞,则黑客可以窃取任何信息。
但是您的网上银行同样如此,因此这就是为什么要采取安全措施来防止这种情况的原因。
这表示Shopify的结帐流程非常安全,因为每次都会重定向到新的结帐,并且很难创建有效的XSS或CSRF攻击。 (不是不可能,但要比WooCommerce结帐难得多)
此外,Checkout是一个封闭的平台,不允许使用任何APP(他们将很快对此提供支持),只有Shopify Plus成员才能实际编辑checkout.liquid
文件。
如果卡的详细信息存储在输入字段或JS对象中,就没有什么不同;如果黑客可以访问该对象,那么他也将能够访问输入。
此外,Shopify在Whitehat Hacker社区中非常活跃,任何报告的错误都为https://hackerone.com/shopify支付了费用,他们可以快速修复它们。
Shopify是首选的电子商务解决方案是有原因的。从安全的角度来看,它比许多其他自托管服务(例如Magento / WooCommerce)要安全得多。