Shopify - (Link Return) Client Side Web Vulnerability
Common Vulnerability Scoring System:
Cross Site Scripting - Non Persistent
Shopify is a Canadian commerce company headquartered in Ottawa, Ontario that develops computer software for online stores and retail
point-of-sale systems. Shopify was founded in 2004, and was initially based on earlier software written by its founders for their online
snowboard store. The company reports that it has 150,000 merchants using its platform, with total gross merchandise volume exceeding $8 billion.
(Copy of the Homepage: https://en.wikipedia.org/wiki/Shopify )
The Vulnerability Laboratory Core Research Team discovered a client-side header inject web vulnerability in the official Shopify online service web-application.
2018-06-13: Public Disclosure (Vulnerability Laboratory)
Product: Shopify - Online Service (Web-Application) v2015 Q3
A client-side cross site scripting web vulnerability has been discovered in the official in the official Shopify online service web-application.
The non-persistent xss vulnerability allows remote attackers to inject own script code to the client-side of the vulnerable online-service module.
The vulnerability is located in the `Link` value of the `apps.shopify.com/ ` and `support.shopify.com/` module. Remote attackers are able to
inject own script codes to client-side application header requests. The attack vector is non persistent and the request method to inject/execute
is GET. The vulnerable source is located in the `apps.shopify.com/ ` and `support.shopify.com/` module when processing to request the link value.
The security risk of the header inject web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.4.
Exploitation of the client-side header inject web vulnerability requires no privilege web application user account and low user interaction.
Successful exploitation results in client-side account theft by hijacking, client-side phishing, client-side external redirects and non-persistent
manipulation of affected or connected service modules.
[+] Link value - return
Proof of Concept:
The client-side vulnerability can be exploited by remote attackers without privilege web-application user account.
For security demonstration or to reproduce follow the provided information and steps below to continue.
An attacker can manipulate the Host header as seen by the web application and cause the application to behave in unexpected ways.
The above links mentioned 2 different ways to exploit this issue:
Web-cache poisoning and/or
Using alternate channels like password reset emails.
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0
HTTP/1.1 200 OK
Date: Sun, 17 May 2015 21:10:38 GMT
Content-Type: text/html; charset=utf-8
Status: 200 OK
Strict-Transport-Security: max-age=631152000; includeSubdomains
X-XSS-Protection: 1; mode=block; report=/xss-report/c7a180e2-7745-4ebd-b2ce-ed37f8d392a3?source%5Baction%5D=index&source%5Bcontroller%5D=home&source%5Bsection%5D=support
Link: ; rel="canonical"
Content-Security-Policy-Report-Only: default-src 'self' https:; connect-src 'self' https: wss:; font-src 'self' https: data:; frame-src 'self' https: data:; img-src 'self'
https: data:; media-src 'self' https: data:; object-src 'self' https:; script-src 'self' https: 'unsafe-inline' 'unsafe-eval'; style-src 'self' https: 'unsafe-inline';
Cache-Control: max-age=0, private, must-revalidate
c5ad1f89e76867a62b6ed3abf421c652e6fd70cd; path=/; secure; HttpOnly
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"