Document Title: =============== BlinkSale Bug Bounty #2 - Cross Site Scripting Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1448 Release Date: ============= 2015-09-28 Vulnerability Laboratory ID (VL-ID): ==================================== 1448 Common Vulnerability Scoring System: ==================================== 2.9 Product & Service Introduction: =============================== We like to get paid. We’re sure you feel the same. So while you can use Blinksale and get paid by check, our integration with Stripe* makes it easy to get paid in a flash. Just sign up at Stripe, put your credentials into Blinksale, and you’re all set to accept credit card payments on your invoices! (Copy of the Vendor Homepage: https://www.blinksale.com/ ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered a client-side cross site scripting web vulnerability in the official BlinkSale online service web-application. Vulnerability Disclosure Timeline: ================================== 2015-03-10: Researcher Notification (Hadji Samir) 2015-03-11: Vendor Notification (Blinksale Security Team) 2015-03-18: Vendor Response/Feedback (Blinksale Security Team) 2015-09-20: Vendor Fix/Patch (Blinksale Developer Team) 2015-09-29: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Exploitation Technique: ======================= Remote Severity Level: =============== Low Technical Details & Description: ================================ A client-side cross site scripting web vulnerability has been discovered in the official BlinkSale online-service web-application. The issue allows remote attackers to inject own malicious web context on the application-side of a vulnerable module or function. The security vulnerability is located in the template value of the `Thank-you Templates` page module. Remote attackers are able to inject client-side script codes to the template value parameter http request. Result is a client-side execution of malicious script codes. The request method to inject and execute is GET and the issue is location on the client-side of the online service web-application. The security risk of the client-side cross site web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 2.9. Exploitation of the web vulnerability requires no privileged web-application user account and low or medium user interaction. Successful exploitation of the encoding vulnerability results in session hijacking, non-persistent phishing, non-persistent external redirects and non-persistent manipulation of affected or connected module context. Request Method(s): [+] GET Vulnerable Module(s): [+] thankyou_preview? Vulnerable Parameter(s): [+] thankyou1 Proof of Concept (PoC): ======================= The client-side cross site vulnerability can be exploited by remote attackers without privileged application user account and with low or medium user interaction. For security demonstration o to reproduce the vulnerability follow the provided information and steps below to continue. Manual steps to reproduce the vulnerability ... 1. You do not need to register an account 2. Open up the main website and switch to the settings (account_info) 3. On the bottom you need to click the `'Thank-you Templates' 4. Click to any Thank-you Templates Preview link https://samirpen.blinksale.com/thankyou_preview?template=thankyou1'" onerror=alert(document.cookie) aa>