Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7589129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:05:16+00:00 2026-05-30T20:05:16+00:00

I have a web application written in java. We don’t use sessions in authentication

  • 0

I have a web application written in java. We don’t use sessions in authentication process. An application scan was ran and it was found that we have possibility of session fixation attack. I am wondering when we are not using session, how do you fix or prevent session fixation? This is what the FORTIFY scan report tells

The following changes were applied to the original request:
• Added parameter 'Cookie_abcxyz.com-443' with the following value 'R3777273810'
• Removed cookie 'Cookie_abcxyz.com-443'

Request/Response:
GET / HTTP/1.1
Content-Length: 43
Accept: */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)
Host: myportal.abcxyz.com
Cookie_abcxyz.com-443=R3777273810
HTTP/1.1 200 OK
Set-Cookie: Cookie_abcxyz.com-443=R3777273810; path=/
Content-Length: 11211
Date: Mon, 13 Feb 2012 17:08:14 GMT
Server: abcxyz
Cache-Control: no-cache
Content-type: text/html
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:05:17+00:00Added an answer on May 30, 2026 at 8:05 pm

    We don’t use sessions in authentication process…. I am wondering
    when we are not using session

    This is irrelevant. I assume that you use session management for your server.This error report indicates that you don’t validate the query string for your session identifiers.
    Check here for some examples of how you can be attacked: Session Fixation

    UPDATE:
    I suspected that you didn’t use a standard container.I can’t tell you what you actually should do since you have not put any code, but from your description and the fact that you got a report for such a finding the problem is that you allow URL re-rewriting and the attacker can use it to “steal” the session by passing in a known session id.
    Broadly speaking what you should do is after the user has logged in then invalidate the current session and create a new one on the spot.As a result the already “stoled” id can not be reused.

    And since the information you provide in the post is so little you should take some time to study some of the following to identify the part of your code that is in problem:
    OWASP 1
    OWASP 2
    OWASP 3
    Java Secure session SO
    ASP as well
    Interesting paper on session fixation
    Some HTTP utilities from OWASP that you could perhaps use
    Session fixation in Java
    Secure Session Management

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a desktop application written in Java Swing that currently uses Java Web
I have existing Java application that is using Acegi for authentication/authorization. Our new web
I have web application written in java using Eclipse. It has just one servlet
I have a web-application written in java. I would like to run integration tests
I have a web application written in C# that consumes several internal web services.
I have a web application that was originally written on .Net 1.1 Framework. I
I have a web application written mostly in Java. There are a few users
I have a web application written in XUL and I've been trying to use
I have a simple web application written in java which has servlets accessing the
I have a web application written using Java servlets. I am using Tomcat 7

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.