I believe it’s a general issue.
Description
As our client requested, we ran a Vulnerability Assessment, targeting the web-admin and web-client side.
The result shows that Glide Apps has multiple medium-risk issues; one of them is OWASP A05:2021 Security Misconfiguration, caused by insecure CSP (content-security-policy) setting.,
How to replicate
-
Open any of your Glide App web-client or web-admin page.
-
Navigate to the Internet requests. For example, in Google Chrome, open DevTools > Internet.
-
Navigate to any request that goes to [GET]
https://your-app.glide.page
with param/?reqid=YourToken
; orjustAtoken
sent fromdocument
-
Look up to request header.
You will find that header filled with
content-security-policy default-src https: data: blob: wss: 'unsafe-inline' 'unsafe-eval' |
---|
, like:
Fix Suggestion
According to our cybersecurity partner, it is suggested that below changes should fix this:
- rewrite it as
content-security-policy:default-src ‘none’;
- or just avoid using
‘unsafe-inline’
params