snthorv
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: JS Injection After WP 4.3.1 UpgradeHere is the first indication I’ve found of a Cpanel connection.
A server that I had already scanned came up again with this entry in the virus scan:
.fantasticodata/language.php {HEX}php.brute.bf1lic.187.UNOFFICIAL
I don’t have any idea if this is connected.
Forum: Fixing WordPress
In reply to: JS Injection After WP 4.3.1 UpgradeRednas, you also need to look at your htaccess file for a malicious redirect.
I have run 4 anti-virus programs on my computer. Some things were found by the first three, but nothing serious. I put Windows Security Essentials on and it found some js injections in the cache of my firefox browser. I really don’t know if that is it, or not.
I believe it is fair to say that my own computer is involved somehow in bringing back the virus. But I am not convinced that there is not an exploit somewhere that needs to be identified.
In support of the FTP theory (David’s), though I run hundreds of WordPress sites, the only 2 that continually get infected are ones that are stored in the site manager of my Filezilla. If that is involved, it would actually help make sense of things a little, because I have changed the password numerous times, to no avail. But I updated it in Filezilla each time, too. π
Forum: Fixing WordPress
In reply to: JS Injection After WP 4.3.1 UpgradeI did full scans of my computer using malwarebytes, defender, and spybot. My header file was still compromised. I am left wondering how they are getting in and hope someone gets to the bottom of that, fast. At this point, I’m thinking it is a vulnerability in WP itself.
One thing that I’m thinking about doing is renaming the actual header file and changing the redirect to point to the newly named file. I presume that this is an automated attack somehow and is not sophisticated enough to notice that I have changed the file name. Too bad this change might be over-written by any future WP updates.
Forum: Fixing WordPress
In reply to: JS Injection After WP 4.3.1 UpgradeMy Windows Defender is set to scan my computer every day and it did not detect anything. Prompted by this thread, I ran Malwarebytes.
MB says it only found potentially unwanted files (PUP), which makes me skeptical of the idea that my computer was compromised, per se. However, many of these presented as FF extensions with this phrase in it: \[email protected]\ some of which were associated with js file names.
Too suspicious to leave, so I whacked them.
It will be interesting to see if I continue to have this problem, and a little sad that Defender didn’t do the job for me.
It was a little different each time. Here was one:
RewriteRule ^oe/(.*)$ r/openx-adm.php?$1 [L]
So you can tell from this that there was also a file added to the directory r/ with the addition of the evil script. I deleted that and used a virus scanner to check for some others. They seem to have ‘salted’ the site with several, with variations on the word openx and -adm.
This line was right underneath the WordPress rewrite rules in my htaccess file.
I don’t have this plugin but I have been having this problem. I have done all the normal things, such as making sure everything is up to date, changing passwords and so on. I still have no idea how they are actually getting into my sites. However, I did notice something that no one mentioned here, so I’ll mention it now:
they were also adding a line in the .htaccess file. This line caused a redirect. The htaccess change and the change in the header seemed to work in conjunction, so that after I deleted the line, even though the ‘teaserguide’ bit still showed, users were not actually moved away from my site.
Also, I had one site that I had restored like 5 times that is presently uninfected, and the thing that I did this time was go through and carefully made sure that all of the permissions for every file in the WP directory and sub-directories were correct. I have a hunch that they are exploiting permissions somehow.
Anyway, I have been able to instantly repair my sites by uploading completely fresh copies of the latest WP as well as a backed up copy of .htaccess. So, even though I can’t figure out how they’re getting in, at least I can fix it now in about 5 mins.
I’m presently working on another site that was infected, and focusing on the permissions. If that seems to solve this site as well, I’ll let ya’ll know.
No, I get the characteristic white page with just the word ‘error’ on it. Since I run my own dedicated web server, I was able rule out server side possibilities in short order. But since I was desperate, I did restart the firewall, etc. π
Having been locked out of my own site several times now, a whitelist for login attempts seems to be a no brainer. Honestly, why WOULDN’T you have a whitelist option for it? Really, there should be a whitelist that covers an IP for all BWPS functions, so that nothing can slip through the cracks.
Today, I was locked out inexplicably. I found my IP in the database and deleted every instance of it. Still blocked out. Nothing in htaccess. Full computer restart, even. There was nothing for it except to wait until the time expired. This just isn’t acceptable.
Forum: Fixing WordPress
In reply to: No posts are listed to choose as static pageI wanted to use a post for SEO/Permalink purposes.
It probably wasn’t the end of the world to use a page and even then could have fiddled until I got what I wanted, hacking the htaccess file or tweaking the permalink format for pages. It just seemed to me that I used to be able to use a post if I wanted to and it looked to me (and looks still) like that this option should have done it for me, too.
Forum: Fixing WordPress
In reply to: No posts are listed to choose as static pageBy going into the database, I set the value for “page_on_front” to the id of a post and accomplished what I was wanting to do. If that isn’t what the “display on front page” “static page” “post page” option in the control panel isn’t meant to do I don’t know what the point of it is… seems to be the same option value in the database.
Forum: Fixing WordPress
In reply to: No posts are listed to choose as static pageI was under the impression that you could choose from your published posts, and have one of those set as your home page. If that isn’t the way it works now, did it used to?