Skip to content

Conversation

HectorMF
Copy link

@HectorMF HectorMF commented Oct 9, 2024

When penetration testing I discovered that if a public session ID contains an invalid byte sequence the following error occurs:

Error during failsafe response: invalid byte sequence in UTF-8
/gems/activerecord-session_store-2.1.0/lib/action_dispatch/session/active_record_store.rb:163:in `private_session_id?'

This causes an internal server error, when it really should just handle it as an invalid id

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

Successfully merging this pull request may close these issues.

1 participant