Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cartalyst/sentry
  4. ›
  5. GMS-2016-65

GMS-2016-65: Arbitrary password resets via NULL reset codes

September 5, 2016

There’s a flaw in the DB schema where reset_password_code is NULL by default. If an attacker is able to provide a NULL reset code to the package, there are no guards against arbitrary anonymous password resets. In many cases, submitting a url-encoded null byte value (%00) will match what’s in the database, passing the check and allowing the attacker to set the password to what they wish.

References

  • haxx.ml/post/149975211631/how-i-hacked-your-cfp-and-probably-some-other
  • github.com/cartalyst/sentry/pull/545

Code Behaviors & Features

Detect and mitigate GMS-2016-65 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.1.6

Solution

Branch 2.1 has been patched but there's no published version where the issue is fixed.

Source file

packagist/cartalyst/sentry/GMS-2016-65.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:10 +0000.