Fixed HTTP Session Cookies

This script is Copyright (C) 2010-2017 Tenable Network Security, Inc.


Synopsis :

The remote web application is affected by a session fixation
vulnerability.

Description :

The remote web application uses cookies to track authenticated users.
If the session cookie is already present before authentication, it
remains unchanged after a successful login. A remote attacker can
exploit this to hijack a valid user session.

Session cookies are expected to be unpredictable in a secure web
application. If HTTP cookies can be manipulated (by injecting client-
side JavaScript for example) then the attacker does not have to break
the pseudo-random generator, and the web application is vulnerable to
a 'session fixation' attack.

See also :

http://en.wikipedia.org/wiki/Session_fixation
http://www.owasp.org/index.php/Session_Fixation
http://phpsecurity.org/ch04.pdf

Solution :

Fix the application so that the session cookie is re-generated after
successful authentication.

Risk factor :

Medium / CVSS Base Score : 5.1
(CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P)

Family: Web Servers

Nessus Plugin ID: 46201 (fixed_session_cookies.nasl)

Bugtraq ID:

CVE ID:

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now