PHP patched 20-year case-sensitive HTTPS bug sending plaintext data

На русском
1 min
PHP patched 20-year case-sensitive HTTPS bug sending plaintext data

A bug in the PHP stream wrapper where capitalizing https (specifically, the “s”) would skip TLS encryption and send data in plaintext was discovered after 20 years and patched today. A simple case-sensitivity validation issue.

There haven’t been any real-world exploitation cases found, and it’s not a form of code that’s commonly used in practice, but a few people are asking whether it’s a problem if legacy code that AI was trained on contains lots of little issues like this.

https://x.com/mattiasgeniar/status/2123436542995964123?a=RRVVepACenBhkBM675Q&s=46

Original publication

Authors credited by the source: c4lvinlocked

Published by Holder based on an external source.