SEC-1052: Add option to prevent URL rewriting of jsessionid #1303

Closed
spring-issuemaster opened this Issue Dec 8, 2008 · 3 comments

1 participant

@spring-issuemaster

Luke Taylor (Migrated from SEC-1052) said:

This is often seen as a security risk:

http://www.owasp.org/index.php/Top_10_2007-A7

“Do not expose any session identifiers or any portion of valid credentials in URLs or logs (no session rewriting or storing the user’s password in log files)”

We should add an option in the namespace (and the HttpSessionSecurityContextRepository) to override URL encoding and prevent the id being written to the URL.

@spring-issuemaster

Luke Taylor said:

I’ve added the property disableUrlRewriting to HttpSessionSecurityContextRepository. Just need to add a corresponding one to the namespace.

@spring-issuemaster

Luke Taylor said:

I’ve added support for “disable-url-rewriting” to the namespace parser.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment