Posts Tagged ‘PHP Serialize’

PHP Serialization Pollution Attack

Written by AbiusX on . Posted in Computer, English, Security

PHP Serialization has a fatal flaw which allows for pollution of the scope and global context of an application, as well as running arbitrary code in some scenarios if sources of taint are allowed in. It is a very high impact attack but requires in-depth evaluation criteria and careful inspection to be caught.
I have prepared a lab to explore and try this attack, available at:

PHP Serialization Pollution Lab

Give it a try and let me know what you think. I suggest you do a lot of debugging on the code and master its exact running flow. Don't forget that the source code of that page is available at:

https://abiusx.com/lab/hacking/serialize.src.php

I'm gonna describe this with details in a much later date.