HexBrain

Internet Bug Bounty · Report #146233

Use After Free Vulnerability in PHP's GC algorithm and unserialize

Validstatus
11upvotes
28 Jul 2016disclosed

How it was found

https://bugs.php.net/bug.php?id=72433 This vulnerability was discovered during the auditing of a vendor on Hackerone and could be successfully remotely exploited. The required conditions are a normal PHP setup with a PHP version >= 5.3 and < 7. Further, it is enough if the remote side uses code like the following: $unserialized = unserialize($user_input); print(serialize($unserialized));

Unfortunately, this code pattern is sometimes still used in software making this vulnerability critical.

Please feel free to ask for more technical details if necessary. Thank you for your consideration.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original