Skip to content

Omniauth allows POST parameters to be stored in session

High severity GitHub Reviewed Published Jan 29, 2018 to the GitHub Advisory Database • Updated Aug 28, 2023

Package

bundler omniauth (RubyGems)

Affected versions

< 1.3.2

Patched versions

1.3.2

Description

In strategy.rb in OmniAuth before 1.3.2, the authenticity_token value is improperly protected because POST (in addition to GET) parameters are stored in the session and become available in the environment of the callback phase.

References

Published to the GitHub Advisory Database Jan 29, 2018
Reviewed Jun 16, 2020
Last updated Aug 28, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

No CWEs

CVE ID

CVE-2017-18076

GHSA ID

GHSA-9pr6-grf4-x2fr

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.