Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81138

Security issue: Session Identifier Not updated

$
0
0

We recently did some penetration testing and got the below medium issue. Could anyone please suggest possible fix for this.  they have given a possible solutiont 

Risk: It may be possible to steal or manipulate customer session and cookies, which might be used to imp
ersonate a legitimate user, allowing the hacker to view or alter user records, and to perform transact
ions as that user


Causes: Insecure web application programming or configuration

Fix: Change session identifier values after login

Prevent user ability to manipulate session ID. Do not accept session IDs provided by the user's browser at login;
always generate a new session to which the user will log in if successfully authenticated.
Invalidate any existing session identifiers prior to authorizing a new user session.
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.

 

Reasoning: The test result seems to indicate a vulnerability because the session identifiers in the
Original Request and in the Response are identical. They should have been updated in the
response.

 

Many Thanks,

 

Savan 


Viewing all articles
Browse latest Browse all 81138

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>