-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
ISSUE TYPE
- bug report
SUMMARY
We found a security vulnerability. In file cloudstack/plugins/network-elements/palo-alto/src/main/java/com/cloud/network/utils/HttpClientWrapper.java, the customized HostnameVerfier allows all hostname to pass the verification (at Line 76).
Security Impact:
Hostname Verification is required to verify the identity of the other party. Bypassing it could allow man-in-the-middle attacks.
Useful Resources:
https://cwe.mitre.org/data/definitions/297.html
Solution we suggest:
Do not customize the HostnameVerifier or specify the verification logic instead of allowing all hostnames.
Please share with us your opinions/comments if there is any:
Is the bug report helpful?
Reactions are currently unavailable