Descrizione
In ARCHIBUS Web Central 21.3.3.815 (a version from 2014), the Web Application in /archibus/login.axvw assign a session token that could be already in use by another user. It was therefore possible to access the application through a user whose credentials were not known, without any attempt by the testers to modify the application logic. It is also possible to set the value of the session token, client-side, simply by making an unauthenticated GET Request to the Home Page and adding an arbitrary value to the JSESSIONID field. The application, following the login, does not assign a new token, continuing to keep the inserted one, as the identifier of the entire session. This is fixed in all recent versions, such as version 26. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. Version 21.3 was officially de-supported by the end of 2020
Tipo di vulnerabilità
CWE-384
Session fixation
Al momento dell’accesso, o dell’apertura di una nuova sessione, il prodotto non invalida l’identificativo di sessione già esistente: un attaccante che lo conosce può impossessarsi della sessione autenticata.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione
Invalidate any existing session identifiers prior to authorizing a new user session.
Architettura e progettazione
For platforms such as ASP that do not generate new values for sessionid cookies, utilize a secondary cookie. In this approach, set a secondary cookie on the user's browser to a random value and set a session variable to the same value. If the session variable and the cookie value ever don't match, invalidate the session, and force the user to log on again.
Esercizio · Firewall
Usa un firewall applicativo (WAF) in grado di rilevare attacchi contro questo tipo di vulnerabilità. È utile quando il codice non può essere corretto (perché controllato da terzi), come misura d’emergenza in attesa di interventi più completi, o come difesa aggiuntiva.
Tutte le 445 CVE di tipo CWE-384, con andamento e prevenzione