Log Poisoning

April 22, 2024

  • Second way to do this

Change the User-Agent to "Apache Log Poisoning" so that we can determine if we can poison the log

Then we will inject the cmd get function for the php

Don't forget the double single quote

Then just use the command "&cmd=id" so that we can see the id of the current user

Now we can just use any other command that the log have now poisoned

  • Third way

We could also use this command to poison the apache log

Then we can just do it again with the burpsuite with this commnd

Last updated