Mobile app version of vmapp.org
Login or Join
Pope3001725

: Website hack resulting in auto redirect - where to start looking? My website is being redirected to a non-existent page (/showpage.php) for some users when they hit the homepage. For other

@Pope3001725

Posted in: #Apache #Hacking #Php #Security

My website is being redirected to a non-existent page (/showpage.php) for some users when they hit the homepage. For other users, the site works fine. I have looked in the index.php files and some other commonly used files. I believe strongly that this is a hack but I don't know how to get rid of it.

Any advice on where to start looking? Any experience dealing with something like this? I would greatly appreciate even the slightest thought on the matter.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope3001725

2 Comments

Sorted by latest first Latest Oldest Best

 

@Gloria169

Searching on the associated filename in online exploit databases can sometimes yield insights/hints. For example, this exploit can affect the noted PHP webapp script (Warning: do not click on the demo there for the XSS exploit).

As indicated in that, this involves two types of common exploits:


Cross-site scripting (XSS) exploits - used to bypass access controls in browsers.
SQL injection exploits - used to attack data-driven applications.


There are many virus and web security scanner applications that utilize exploit databases, which can run on and monitor your server. An outdated list of some of them can be found here - search for others in Google.

10% popularity Vote Up Vote Down


 

@Kevin317

Check your htaccess file as that is commonly where redirect hacks are placed. If you can't find it anywhere ask your host to check the Apache conf files as they may be the ones who are comprimised.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme