VDB
Sign up
MEDIUM5.4

GHSA-vj2j-6g3w-4662

Silverstripe Missing CSRF protection in login form

Quick fix

GHSA-vj2j-6g3w-4662 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^3.1.19

Details

LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 3.1.18Fixed in: 3.1.19
Fixcomposer require silverstripe/framework:^3.1.19
Packagist/silverstripe/framework
Introduced in: 3.2.3Fixed in: 3.2.4
Fixcomposer require silverstripe/framework:^3.2.4
Packagist/silverstripe/framework
Introduced in: 3.3.1Fixed in: 3.3.2
Fixcomposer require silverstripe/framework:^3.3.2

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/silverstripe/framework"]}'