Improper access check by Kit leads to controlling attributes of store & getting analytics by deleted Store member via dual messenger A/C

Disclosed: 2018-06-15 18:17:19 By absshax To shopify
Low
Vulnerability Details
Hi, Disclaimer : - This report will be detected as a duplicate of a N/A marked report by me(#351154).The reason for self-close was i did not know if the scope in your policy only restricted to XSS,CSRF on ```kitcrm.com ``` the domain. Issue : - A deleted store member can still use Kit via Facebook messenger & affect the store attributes such as discount codes & also view business analytics & marketing analytics. Summary : - Kit acts as a Facebook & Instagram digital marketeer for any store.It can be installed on a store by setting up 3 things : - Facebook Business/Store page - Messaging account.(Messenger will be used here) - Facebook Ad account after agreeing terms from Facebook. A store owner installs the app,then goes through the process of connecting his/her Facebook account,messenger account & then , the ad account.Basically,here assume that one such account is successfully connected to kit. After , the setups are complete,you will notice one thing, that when you go to Account preferences under Kit,you will notice that you can only change your messaging platform but not the existing Facebook messenger account.You can check this by going to preferences under ```kitcrm.com/ ```and then clicking change messaging platform.After this click on messenger again,you will be redirected back to ```apps/.``` Now,if you were to have a staff account lets say with Apps permission(so that he/she could access Kit). The staff account when opens Kit will see that Kit fixates on the Facebook Page for the store due to lack of store permissions for the staff.Nonetheless,a Facebook account is to be connected : {F297480} The staff can then easily connect his/her messenger account.After this,even if the staff account is deleted he/she could access kit via Facebook messenger & issue transaction causing changes in the store for example creating a 99% discount etc etc. Steps to reproduce : - - Have a store & a facebook account ready. - Now as the store owner setup kit in the store completely. - Now invite a staff account with Apps permission. - Now as the staff you can open Kit,but you will redirected to ``` https://kitcrm.com/onboarding/facebook/setup ```to connect a messenger account.You will notice that the Facebook page connected cannot be changed. - Now,just open the Facebook account & connect your(staffs) Facebook account by giving permissions on Facebook to accept kit.After this, you will be redirected to``` https://kitcrm.com/onboarding/messaging_platform/setup.``` - Here you will notice that the Facebook page is under a green tab,but when you open it,there isn't any Facebook pages connected.This is because of the lack of store permissions.If the staff were to have full permissions, then the Facebook page would be visible.Nonetheless,continuing as a staff account with apps permission. Now, connect your Facebook messenger to kit,by selecting Facebook messenger & then clicking send to messenger. - Now , you have your messenger connected & are redirected to ``` https://kitcrm.com/onboarding/checklist/setup ```where your Ad account is auto-connected.You will notice that you are not able to accept Facebook Custom Audience Terms of Service & Website Audience Terms of Service. This most likely is , because for the store,the terms were already accepted. - Now,if you open your Facebook account you would have received a message from Kit. At this point as the store owner , delete the staff account/deactivate. - Now,as the staff account you can still ask kit to change the store attributes i.e create valid discount codes,get reports of business & ad performance.You cannot publish ads due to not having permissions to access the pages Ad account. ## Impact - Deleted staff can still change store attributes such as discount codes & still access business/ads/email marketing analytics of the store via kit. - Discounts created by deleted staff member via Kit : {F297481}
Actions
View on HackerOne
Report Stats
  • Report ID: 351519
  • State: Closed
  • Substate: resolved
  • Upvotes: 18
Share this report