Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Fixation #5958

Closed
adon90 opened this issue May 5, 2020 · 6 comments
Closed

Session Fixation #5958

adon90 opened this issue May 5, 2020 · 6 comments

Comments

@adon90
Copy link

adon90 commented May 5, 2020

Hello, could you explain a real attack scenario about the vulnerability you fixed in this commit?

800a20d

Regards, adon90

@adon90
Copy link
Author

adon90 commented May 8, 2020

Could you tell if the ci_session cookie nowadays is not a md5? It seems it is not, since it uses session_id()

image

Can you tell me the last commit a md5 for the cookie is used? Trust me, it is not easy to find it.... thanks!

@narfbg
Copy link
Contributor

narfbg commented May 11, 2020

I have no idea what you're talking about mate ... The commit you linked to fixes a syntax error and we haven't used md5 hashes for session IDs since CI2.

@adon90
Copy link
Author

adon90 commented May 12, 2020

Hello, I am talking about this CVE https://nvd.nist.gov/vuln/detail/CVE-2018-12071 present in codeigniter before version 3.1.8.
I would like to know how this can be exploited for previous versions.
Regards, adon90

@sapics
Copy link
Contributor

sapics commented May 15, 2020

From your link, session.use_strict_mode was mishandled before 3.1.9.

A Session Fixation issue exists in CodeIgniter before 3.1.9
because session.use_strict_mode in the Session Library was mishandled.

You can find the detail of session.use_strict_mode from https://wiki.php.net/rfc/strict_sessions.

@rajat315315
Copy link

Is somebody monitoring issues like this. I guess this needs closure.

@mckaygerhard
Copy link

i guess still this have a bug.. seems validating session IDs are not working property.. respect cookies, stil when i made a redirect my session get empty and gone!

@narfbg narfbg closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants