Recently one of the files that did payment processing was modified by a hacker. He added a line of code to get a copy of the card info. Site is safe from XSS/SQL Injection
attacks.
- The file is under /var/www/html and the folder has
777
permissions - File too has 777 permissions, I suspect this was changed by the hacker as well.
- Although the file was modified in April'2014 timestamp said it was modified only in december 2012
So, does this mean someone gained access via ssh/ftp
and modified it without affecting file stats? Or is this via something like HTTP PUT
? What are the possibilities? Any insights?