NoFOMO
Search 中EN Sign in Sign up

Peaked at #2 Off the board

PHP HTTPS uppercase plaintext bug

PHP skipped TLS when 'HTTPS://' was uppercased, leaking plaintext; fixed in 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0.

Rank over time

Key points

  • PHP sent plaintext data when a protocol handler used an uppercased S in 'HTTPS://' with file_get_contents, skipping TLS so tokens, POST bodies and FTPS logins went out unencrypted.
  • The bug was fixed in PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0.
  • The original poster said the bug had been in there for about 20 years.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

m@ttias ⚡️ @mattiasgeniar 13.1K followers

Oh boy … PHP sent clear text data when you used uppercased S in httpS:// in a protocol handler 🙈🙈 file_get_contents('HTTPS://…') skipped TLS: tokens, POST bodies and FTPS logins went out unencrypted! Fixed today in 8.2.36, 8.3.37, 8.4.28, 8.5.13 & 8.6.0. https://t.co/5axztDHUu0
Post image
4,785likes 874reposts 135replies 563.6Kviews

View on X Save

Top replies on X

Reaction on X: Replies were mostly jokes, including that typing https louder made it less secure and that an uppercase S breaking TLS is peak PHP energy; one reply questioned who writes such URLs, and the original poster added that the bug had been there for about 20 years.

Sign in to see 5 top replies from X

From @mattiasgeniar, @sachinmour, @sachintwtss and others. Spam removed, with English and Chinese translations.

Sign up free Have an account? Sign in

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link