- Joined
- Mar 25, 2020
- Messages
- 5
- Reaction score
- 1
Dear 3CX Community,
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Some issues have been identified on the Content Security Policy (CSP) of this service.
Directive script-src with value 'self'
'self' can be problematic if you host JSONP, AngularJS or user uploaded files.
Directive script-src with value https://downloads-global.3cx.com
No bypass found; make sure that this URL doesn't serve JSONP replies or Angular libraries.
Directive script-src with value https://127.0.0.1:32018
No bypass found; make sure that this URL doesn't serve JSONP replies or Angular libraries.
Directive script-src with value https://127.0.0.1:32018
script-src directive allows localhost as source. Please make sure to remove this in production environments.
Directive connect-src with value https://127.0.0.1:32018
connect-src directive allows localhost as source. Please make sure to remove this in production environments.
Host: xxxxxxxxxxxxxxxxx.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 artiacker_genesis
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Can you check this problem and give feedback?
Thank you.
Regards.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Description
A vulnerability has been detected on https://xxxxxxxxxxxxxx:5001Some issues have been identified on the Content Security Policy (CSP) of this service.
Directive script-src with value 'self'
'self' can be problematic if you host JSONP, AngularJS or user uploaded files.
Directive script-src with value https://downloads-global.3cx.com
No bypass found; make sure that this URL doesn't serve JSONP replies or Angular libraries.
Directive script-src with value https://127.0.0.1:32018
No bypass found; make sure that this URL doesn't serve JSONP replies or Angular libraries.
Directive script-src with value https://127.0.0.1:32018
script-src directive allows localhost as source. Please make sure to remove this in production environments.
Directive connect-src with value https://127.0.0.1:32018
connect-src directive allows localhost as source. Please make sure to remove this in production environments.
Steps to reproduce
- Send the following request:
Host: xxxxxxxxxxxxxxxxx.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 artiacker_genesis
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
Impact
The lack of CSP may allow an attacker to exploit XSS vulnerabilities with ease. If the attacker is able to inject malicious scripts or code into the webpage, they can gain access to sensitive information or take control of the website.Suggested mitigations
The following mitigations can help prevent CSP bypass or issues:- Check the described issues and verify exploitability. If the issues are exploitable, fix them.
- Remove 'unsafe-inline' and 'unsafe-eval' from the script-src directive.
- If the website hosts JSONP, AngularJS, or user-uploaded files, use a Content Delivery Network (CDN) or subdomain to host the files.
- Restrict object-src to 'none' only.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Can you check this problem and give feedback?
Thank you.
Regards.
Last edited by a moderator: