Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's true 99.99% of the time.

However, just to play devil's advocate, there is a class of attacks based around injecting code into logfiles since they'll log the query string of a GET request. If you can then get the server to say include that logfile as a php file, it will execute the embedded PHP.

Of course the real vuln isn't logging GET params (it's convincing the server to include the logfile as .php), but I thought it was worth pointing out.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: