Bonjour
En faisant un peu de cyber surveillance, j’ai constaté une petit vulnérabilité dans Jeedom :
Dans l’index.php, il manque le flag « secure » pour la génération du cookie
Voici un résumé cette vulnérabilité :
Vulnerability description
We found that a cookie has been set without the Secure flag, which means the browser will send it over an unencrypted channel (plain HTTP) if such a request is made. The root cause for this usually revolves around misconfigurations in the code or server settings.
Risk description
The risk exists that an attacker will intercept the clear-text communication between the browser and the server and he will steal the cookie of the user. If this is a session cookie, the attacker could gain unauthorized access to the victim’s web session.
Recommendation
Whenever a cookie contains sensitive information or is a session token, then it should always be passed using an encrypted channel. Ensure that the secure flag is set for cookies containing such sensitive information.
References
Classification
- CWE: CWE-614
- OWASP Top 10 - 2013: A5 - Security Misconfiguration
- OWASP Top 10 - 2017: A6 - Security Misconfiguration
Je suis en jeedom 4.4.5, php 7.4.33 et debian 11.9
et je ne suis pas un spécialiste en cybersécurité
J’espère que ce message ne fait pas doublon avec une autre discussion
Cordialement
