Laravel 12.72 fixed a signed URL expiry bypass
DEV Community

Laravel 12.72 fixed a signed URL expiry bypass

Laravel 12.72 fixed a signed URL expiry bypass. Then query strings broke.

Signed URL expiration bypass

12.72.0 (Nov 10) includes "Fix temporary signed URL expiration bypass via numeric query-fragment parameter smuggling".

A follow-up PR hardened another path: if expires arrives as an array, the expiry check treated the URL as never expiring. The signature still has to match, so this is an expiry bypass, not forgery.

EncodedParameter redirect regression

Then an issue reported that 12.72.0 changed how EncodedParameter query strings render in redirects. A fix PR was merged.

What to do on a 12.x app this week

  • Update to 12.72.0 or newer and read the changelog
  • Test that an expired signed link returns 403
  • Test redirects that carry query strings

Signed links are usually in emails: downloads, invites, confirmations. Nobody notices when they stop expiring.

Do you test signed URL expiry in CI, or trust the framework? Laravel #PHP #BackendEngineering #WebSecurity

Top comments (1) Release github.com/laravel/framework/relea... | PRs #62401, #62411 | Issue #62416

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.