ramwf
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Patch for new vulnerability?An update – after further review, the vulnerability was actually patched in version 8.4.0, meaning the current version is not vulnerable. We’ve updated our vulnerability record to reflect this and will be revisiting our processes to ensure this type of issue doesn’t happen again.
Thanks,
Ramuel GallForum: Plugins
In reply to: [WooCommerce] Patch for new vulnerability?Hi All,
It looks like this was in fact a miscommunication – Version 8.5.0 containing a patch was not only pushed to github but also to the WordPress SVN, and an entry mentioning the XSS was noted in the 8.5.0 changelog which cued us into the vulnerability in the first place.
Our standard process is not to disclose vulnerabilities until they’re patched – but in this case it looks like 8.5.0 was rolled back. The bad news is that the patch is publicly available meaning that it’s now trivial for any attackers to find the same vulnerability – it would be public at this point even if we didn’t have our vulnerability entry.
The good news is that it’s Reflected Cross-Site Scripting, which requires user interaction, and all Wordfence users, including Free Wordfence users, as well as users of almost all other WAF products from other providers, should be protected from this type of issue.
While Cross-Site Scripting vulnerabilities can have Critical impacts, the threat posed by this particular vulnerability is fairly low – don’t click on any suspicious links, and make sure you have a firewall like the Wordfence Firewall installed, and you’ll be fine. We’re going to mark it unpatched for the time being and keep an eye out for when a full patch is released.
- This reply was modified 2 years, 4 months ago by ramwf.
Hi Liam,
Exploiting a vulnerability requires several conditions:
- A vulnerable software component running on your site
- An attack that can successfully exploit that vulnerable component
- Nothing stopping the attack from exploiting the vulnerability
Automated outside-in vulnerability scans such as Nessus tend to try a huge range of exploits and are highly prone to false positive results that require experience to interpret. OWASP ZAP is useful but not nearly as well-maintained and significantly more prone to false positive results than other offerings, and unless it is using a ruleset specifically designed for WordPress it is unlikely to detect meaningful vulnerabilities (and even then runs into the same issues as other scanners such as Nessus).
In addition to this more general set of issues, many automated vulnerability scanners will test for vulnerabilities across a wide range of systems. For instance, such a scanner might try sending out SQL injection attempts designed to attack different database systems, such as Microsoft SQL, MySQL, and others.
As WordPress runs on MySQL/MariaDB, an attack designed to exploit Microsoft SQL cannot work against WordPress, and so the Wordfence firewall would not block it because there are no vulnerable components for such an attack to exploit.
If ZAP is indicating the presence of a particular vulnerability that is not being blocked it may be worth additional investigation, but the results you’re currently seeing are very generic and do not provide sufficient information to do so.
Hi, thanks for bringing this up. I checked in and that’s correct, Wordfence no longer participates in the Privacy Shield Program, my emphasis was more that the ruling you brought up seems to be specific to government access to data but I included additional context. We now use an updated method to lawfully transfer data between the EU/UK and USA. Our Privacy Policy describes how we collect and handle any information gathered from users of the Service.
To the extent you are acting as a data controller of personal data subject to the EU or UK General Data Protection Regulation (the “GDPR”), the Standard Contractual Clauses found at https://www.wordfence.com/standard-contractual-clauses and UK International Data Transfer Addendum found at https://www.wordfence.com/uk-international-data-transfer-addendum applies.
- This reply was modified 3 years, 2 months ago by ramwf.
Hello,
From the link you posted:
It is important to note that the CJEU’s Schrems II decision was focused solely on government access to data. The CJEU did not question the protections that the EU-U.S. Privacy Shield offered EU individuals in the commercial sphere. The U.S. commitments under the EU-U.S. DPF regarding signals intelligence are included in the Executive Order and regulations governing the new DPRC.It seems a bit extreme to rate a plugin 1 star in the hopes of warning off everyone in the EU from ever installing it again because of a legal decision that happened 2 months ago that (and I must emphasize that I am not a lawyer) does not seem to apply to this particular circumstance.
If you have been contacted by a lawyer about this and asked to pay fees, you may wish to consider the possibility that this was an opportunistic move on their part. Seeking a second legal opinion from someone who specializes in these types of cases might be an additional cost but is highly recommended.
(Disclosure: I do work for Wordfence, and we make a considerable effort to maintain compliance with data protection regulations in the regions where we do business, which includes regularly reviewing the current state of these regulations)Hi ksteele76.
We did not write the code that led to this vulnerability, nor do we distribute the vulnerable plugin, nor are we associated with UpdraftPlus in any way other than our reporting on it and distribution of a firewall rule to block exploit attempts against it. Our firewall rules block attacks against vulnerabilities but they do not directly change the code of the vulnerable plugin. The free version of Wordfence alerts you when you have a vulnerable plugin installed, and the best, and recommended, solution to this vulnerability is simply to update the UpdraftPlus plugin. Our firewall rules are not intended to be a long-term substitute for keeping your plugins up to date – they allow busy site owners more time to test and prepare for updates. We do release our firewall rules to our free users after 30 days for the benefit of the community, but the solutions we offer to our free users might require some effort on your part, such as updating your plugins after you have been alerted to a vulnerability.
Thanks,
Ram Gall
Wordfence QA Engineer and Threat AnalystHi,
The error you’re seeing is not due to a Wordfence signature detecting an issue, and it does not indicate that any vulnerabilities are present. It’s happening because something incorrectly formatted got passed to unserialize in class-wwpdf-license-api.php and the error is getting logged in the scan window. You appear to be running the premium version of the WaterWoo PDF plugin so I can’t really tell much more without looking at the code. Wordfence does run an update check on all plugins to see if any updated versions are available, and it’s likely that this is what triggered the error you’re seeing, as premium plugins frequently hook into the update check in order to retrieve available updates from the author’s website.
P.S. It’s true that Wordfence uses regular expressions to search for malicious code. This is because regular expressions are one of the most powerful and useful ways to find patterns when properly crafted. We’re continually refining the patterns we use to minimize false positives. We have over 3,000 signatures in production, and I promise none of our them are looking for anything as simple, innocuous, and widespread as “serialize(“.
- This reply was modified 5 years, 5 months ago by ramwf.
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] UnblockingHi CamZL1,
After additional research, it looks like the contents of the ‘wfblocks7’ table in your database may have been corrupted – the image displayed in the screen would only display if the values of the blocked IPs in that table were set to an empty value. The good news is that I’ve verified that these blocks can still be removed by checking the box next to them and clicking “Unblock”.
Thanks,
RamForum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] UnblockingHi CamZL1,
It sounds like your site might not be detecting IPs correctly. Could you please send over a diagnostics report via (Wordfence > Tools > Diagnostics > Send report by email) to wftest [at] wordfence [dot] com
Please include your forum username (CamZL1) in that second field and I’ll take a look for you!
Thanks,
RamHi voltima,
I had a look at your diagnostics and it looks like a caching issue is potentially at fault. We recommend renaming or removing the wp-content/advanced-cache.php file. If this does not resolve the issue, the next step to take would be to disable the Wp-Optimize plugin to determine if there’s a conflict – if disabling this plugin corrects the issue and reactivating it causes the issue to occur again, let us know. If this does not resolve the issue you may need to contact your host for help temporarily disabling any caching proxies, since you’re hosted with a provider that has a number of aggressive caching settings available including a caching proxy.
Thanks,
RamForum: Plugins
In reply to: [Quick Call Button] WordFence possible malicious code reportHi vincentejc,
Speaking for Wordfence, it looks like that particular result was likely a false positive. Usually Wordfence adds plugins in the ww.wp.xz.cn repository to our list of allowed files, but on occasion a new version of a plugin will contain an updated file that matches one of our malware detection signatures before we have a chance to add it to our allowed list. During this time the malware scan may detect the updated file even though it is a false positive. At this time you should no longer see this scan result.
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] Scan FailedHi youfarhan,
Can you email a diagnostics report to wftest [at] wordfence [dot] com please? To do this, go to Wordfence->Tools->Diagnostics.
Thanks,
RamHi dccorp,
In standard PHP-FPM configurations, a typical firewall optimization makes a change to the PHP configuration by adding an auto_prepend_file directive to .user.ini. The .user.ini file by default has a cache TTL of 5 minutes, after which the TTL would expire and the new configuration would be used. If this directive is instead added to php.ini or another higher-level configuration file for the site it may be necessary for the php-fpm service to be manually restarted. Depending on how virtualmin/webmin handles this it is possible that manually restarting the php-fpm service is the only option on your configuration. Most of the documentation I’ve found for virtualmin/webmin appears to indicate that restarting the php-fpm service is necessary when making any change to the PHP configuration.
Thanks,
RamForum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] Scan FailedHi youfarhan,
Are you still encountering this issue? While we’re not aware of any problems on our end it is possible that there was a temporary network issue between your site and our servers. Please let us know if the problem is still happening.
Thanks,
RamHi Kuyhaa,
The “?wordfence_syncAttackData=” URL is used by Wordfence to migrate data from temporary storage into the database and it is normal for it to show a blank page if you attempt to visit it – it is actually what is used to update Live Traffic. To stop seeing this, you can change your Live Traffic settings to “Security Only”.
As far as the issue with connecting back to your own site is concerned, this means that your site is sending requests to itself (such as the wordfence_syncAttackData request). If you go to Wordfence->Tools->Diagnostics, there should be a listing of “IP(s) used by this server” under “Connectivity”. You’ll want to make sure that none of these IPs are blocked. If the issue persists, you may need to contact your hosting provider for further assistance.
Thanks,
Ram