March 4, 2021
Hot Topics:

PHP Session IDs Are Guessable

  • By Developer.com Staff

PHP Session IDs are supposed to random and impossible for a hacker to guess, but that's not the case says security expert Andreas Bogk.

Bogk "warns that, despite recent PHP improvements, the session IDs of users who are logged into PHP applications remain guessable," The H reported.

The problem is that PHP developers are seeding their random generator with a call to the "gettimeofday" function.

Upon examination of the PHP source code, Bogk said, "What we immediately notice is the lack of non-predictable entropy sources in the initial seeding."

Bogk recommends that the PHP developers brush up on their cryptography knowledge and read Bruce Schneier.

View Article

This article was originally published on March 31, 2010

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date