#Expliot title : spaceavis - session cookie without secure flag
#Vendor Homepage: https://spaceavis.com
#Date: 2020-12-7
#Tested on : windows 10
#vesion: 0.1
#category:webapps
#Risk: high
#Resource Content:wp_learn_press_session_a52b69b6dd035fc4ab3e7d39664469cc=7b61adb69fed40f82349b8121a5002df%7C%7C1607514628%7C%7C60dd44625b4f118633f4293c19e0feb2; expires=Wed, 09-Dec-2020 11:50:28 GMT; Max-Age=172798; path=/
###
#Discussion: I detected that a known session cookie may have been set without the secure flag.
#impact: Cookies can be exposed to network eavesdroppers. Session cookies are authentication credentials; attackers who obtain them can get unauthorized access to affected web applications.
#Remediation: When creating the cookie in the code, set the secure flag to true.
#discovered by : NC01