PT-2020-14845 · Rails · Pghero

Heiko Webers

·

Published

2020-08-05

·

Updated

2020-08-05

·

CVE-2020-16253

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions PgHero gem versions through 2.6.0
Description The issue allows CSRF attacks. Normally, PgHero uses the protect from forgery method from Rails to prevent CSRF, but this defaults to :null session, which has no effect on non-session based authentication methods. Thus, the gem is vulnerable with non-session based authentication methods like basic authentication.
Recommendations For PgHero gem versions through 2.6.0, consider disabling non-session based authentication methods like basic authentication until a patch is available. Restrict access to vulnerable endpoints to minimize the risk of exploitation.

Exploit

Fix

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-16253
GHSA-V6FX-752R-CCP2

Affected Products

Pghero