PHP bug sent TLS-protected data in plaintext if you capitalized the S in https://
matthew_d_green · x · 2026-11-20
A severe PHP vulnerability: protocol handlers compared the URL scheme case-sensitively, so filegetcontents('HTTPS://…') skipped TLS entirely and transmitted tokens, POST bodies, and FTPS credentials in plaintext. The old code hardcoded a check that the 5th scheme character was a lowercase 's'. FTPS logins and redirects to uppercase URLs were also affected. Fixed in PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0 by switching to case-insensitive comparison — upgrading is the only mitigation.
More from Safety
- Joshua Saxe briefs Congress: fix vendor security liability, craft nuanced open-weights policy — joshua_saxe · 2026-11-20
- Superforecasters put 33% odds on a week-long outage hitting 1M+ people in an OECD country by 2028 — NathanpmYoung · 2026-11-20
- Sentinel brief 'Consider Cyberarmageddon' extrapolates cyberattack growth to societal failure — NathanpmYoung · 2026-11-20
- Protest at Anthropic HQ over banning RSI meets counter-protester with 'AI=GOOD' sign — nmasc_ · 2026-11-20
- NY senator moves to keep Waymo off streets; critics say delays will indirectly kill people — zacharynado · 2026-11-20
- NVIDIA and ANSI to host physical AI safety session at GTC DC on Dec 2 — liu_mingyu · 2026-11-20