GHSA-2m5g-8xpw-42vp
OpenCFP Framework (Sentry) Account takeover via null password reset codes
Quick fix
GHSA-2m5g-8xpw-42vp — cartalyst/sentry: upgrade to the fixed version with the command below.
composer require cartalyst/sentry:^2.1.7Details
OpenCFP, an open-source conference talk submission system written in PHP, contains a security vulnerability in its third-party authentication framework, Sentry, developed by Cartalyst. The vulnerability stems from how Sentry handles password reset checks. Users lacking a password reset token stored in the database default to having NULL in the reset_password_code column. Exploiting this flaw could allow unauthorized manipulation of any OpenCFP user's password, particularly those without an unused password reset token. Although successful login still requires correlating the numeric user ID with an email address, the identification of likely organizers (users 1-5) may facilitate this process.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 2.1.7composer require cartalyst/sentry:^2.1.7References
- https://github.com/cartalyst/sentry/commit/c679730b8848686f59125cd821bf94946fb16a94[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cartalyst/sentry/2016-09-05.yaml[WEB]
- https://github.com/cartalyst/sentry[PACKAGE]
- https://github.com/cartalyst/sentry/releases/tag/v2.1.7[WEB]
- https://haxx.ml/post/149975211631/how-i-hacked-your-cfp-and-probably-some-other[WEB]
- https://web.archive.org/web/20180119075946/https://haxx.ml/post/149975211631/how-i-hacked-your-cfp-and-probably-some-other[WEB]