Insecure Deserialization
Last updated
Last updated
You can use phpggc to generate payloads.
If you can upload a file that is a valid PHAR:
Phar file
Tar file
Zip file
Image polyglot
Then if that file is opened with the phar://
protocol, then insecure deserialization can occur.
So basically, to execute the attack, you need two things:
Uploaded valid phar archive with malicious content
Injection into a filesystem call, where you can specify the phar://
protocol and open up the archive