CVE-2018-10966
An attacker can edit the Passport.js contents of the session cookie to contain the ID number of the account they wish to take over, and re-sign it using the hard coded secret.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.61%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An issue was discovered in GamerPolls 0.4.6, related to config/environments/all.js and config/initializers/02_passport.js. An attacker can edit the Passport.js contents of the session cookie to contain the ID number of the account they wish to take over, and re-sign it using the hard coded secret.
- CVSS 3.0
- 7.3 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS
- 1.61% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-798
- Affected
- gamerpolls/gamerpolls
- Source
- cve@mitre.org
References
- https://github.com/GamerPolls/gamerpolls.com/blob/03ccbaf219410e0a45390d0efc12017f08a25282/config/environments/all.js#L58Patch, Third Party Advisory
- https://github.com/GamerPolls/gamerpolls.com/pull/56Patch, Third Party Advisory
- https://www.digitalinterruption.com/single-post/2018/06/04/Are-Your-Cookies-Telling-Your-FortuneExploit, Third Party Advisory
- https://github.com/GamerPolls/gamerpolls.com/blob/03ccbaf219410e0a45390d0efc12017f08a25282/config/environments/all.js#L58Patch, Third Party Advisory
- https://github.com/GamerPolls/gamerpolls.com/pull/56Patch, Third Party Advisory
- https://www.digitalinterruption.com/single-post/2018/06/04/Are-Your-Cookies-Telling-Your-FortuneExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.