Log Poisoning
PHP Session Poisoning
/var/lib/php/sessions/
on Linux
C:\Windows\Temp\
on Windows
/var/lib/php/sessions/sess_[PHPSESSID]
Steps
Check the /var/lib/php/sessions/sess_el4ukv0kqbvoirg7nkp4dncpk3 if we can control some session values
If we can control values, inject the RCE payload
LFI
Server Log Poisoning
https://github.com/danielmiessler/SecLists/tree/master/Fuzzing/LFI
Steps
Find the access/error logs location
inject the payload in User-Agent
You can also try on /proc/self/environ or /proc/self/fd/N (N is 0-50)
Other server logs
/var/log/sshd.log
/var/log/mail
/var/log/vsftpd.log
Last updated