NinTechNet changelog.

September 22, 2019

NinjaFirewall (WP+/WP) v4.0.3

We have simplified the menu structure and reduced the total number of menuitems from 15 to 10 (WP Edition) and from 19 to 12 (WP+ Edition):

  • New menuitem: “Dashboard”. It includes the former “Overview”, “Statistics” and “About”. In the premium WP+ Edition, it also includes “License”.
  • New menuitem: “Monitoring”. It includes “File Guard” and “File Check”. In the premium WP+ Edition, it also includes “Web Filter”.
  • New menuitem: “Logs”. It includes “Firewall Log” and “Live Log”. In the premium WP+ Edition, it also includes “Centralized Logging”.
  • New menuitem: “Security Rules”. It includes “Rules Updates” and “Rules Editor”.
  • Fixed a potential “Undefined index: size” PHP notice.
  • Fixed missing CSS on the Login Protection page input fields.
  • WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
  • Small fixes and adjustments.

https://nintechnet.com/ninjafirewall/wp-edition/


August 31, 2019

NinjaFirewall (Pro+/Pro) v4.0

This is a major update.

  • Improved NinjaFirewall overall interface and pages layout; added some simple toggle switches to replace radio buttons, better handling of error messages, cleaned up useless code etc.
  • Most JavaScript code was rewritten from scratch, including all features that rely on it (e.g., “Live Log” etc).
  • Pro+ Edition (Premium): The “Access Control” pages interface was simplified: it now uses simple textarea elements where you can copy/paste your data (URL, IP, Bot) very easily. The “Geolocation” page was simplified too.
  • Pro+ Edition (Premium): In addition to an IP address or CIDR, you can now also enter an AS number (Autonomous System number) in the “IP Access Control”. This new feature is very helpful if you want to allow or block all IPs from an ISP or hosting company: just enter their AS number instead of hundreds of IP addresses. Syntax is “AS” + the number, e.g. “AS12345”. See “Access Control > IP Access Control”.
  • The admin interface will not use remote fonts from fonts.googleapis.com anymore, but your own ones instead. In addition, you can change the fonts family and size very easily from the “Account > Options > Appearance” menu, without having to upload your own CSS file.
  • The maximum banning period for IP addresses has been increased from 999 to 9,999 minutes (Firewall > Options > Banned IP addresses).
  • Pro+ Edition (Premium): The maximum banning period for rate-limiting has been increased from 999 to 9,999 seconds (Firewall > Access Control > IP Access Control > Rate limiting).
  • The “Block the DOCUMENT_ROOT server variable in HTTP request” policy will not be enabled by default with new installations of NinjaFirewall.
  • Fixed a bug in the firewall engine sanitizing function: when dealing with an empty string, the function was returning NULL rather than returning the empty value.
  • Fixed a potential “Undefined index: size” PHP notice that could occur during uploads.
  • Pro+ Edition (Premium): Fixed a bug where the ISO 3166 country code was not found when using an external PHP variable instead of the built-in GeoIP database.
  • Updated security rules.
  • Many small fixes and enhancements.
  • Pro+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.

https://nintechnet.com/ninjafirewall/pro-edition/


August 11, 2019

NinjaFirewall (WP+/WP) v4.0.2

  • Added a new policy to enable the “SameSite” flag on cookies in order to protect against cross-site request forgery (CSRF) attacks. See “Firewall Policies > Advanced Policies > HTTP response headers > Force SameSite flag on all cookies”.
  • Fixed a bug in multisite installations: when additional superadmin users were created, they were not whitelisted by the firewall because WordPress does not assign them a “capabilities” meta_key in the database.
  • Fixed a bug in the firewall engine sanitizing function: when dealing with an empty string, the function was returning NULL rather than returning the empty value.
  • Fixed a bug in the “Login Protection” menu: after changing the “GET/POST” options, reloading the page reset them to the default value.
  • Fixed a “Undefined variable: phpini” PHP notice in the uninstaller.
  • Improved the code used to detect if another instance of the firewall is running in a parent directory.
  • WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
  • Several small fixes and adjustments.

https://nintechnet.com/ninjafirewall/wp-edition/


July 07, 2019

NinjaFirewall (WP+/WP) v4.0.1

  • Fixed a bug where it was not possible to disable the “Strict-Transport-Security HTSC” advanced policy.
  • Fixed a potential “Undefined index: size” PHP notice that could occur during uploads.
  • Fixed a bug where the firewall log was wrongly displaying “DEBUG_ON” instead of “INFO” in the “Level” column.
  • Fixed a potential “The plugin does not have a valid header” error message when activating NinjaFirewall. On some installations, WordPress was not loading the right file.
  • WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.

https://nintechnet.com/ninjafirewall/wp-edition/


July 03, 2019

NinjaScanner v2.0.1

  • Added an option to delete the scan report and its corresponding snapshot. You can use it to clear the whole cache and its data if the snapshot was corrupted instead of having to delete the files manually over FTP. See “Settings > Advanced Users Settings > Nerds Settings > Clear snapshot and scan report”.
  • Added better HTTP headers than WordPress default ones to all AJAX requests.

https://nintechnet.com/ninjascanner/


June 30, 2019

NinjaFirewall (WP+/WP) v4.0

  • Improved NinjaFirewall overall interface and pages layout; added some simple toggle switches to replace radio buttons, better handling of error messages, cleaned up useless code etc.
  • All JavaScript code was 100% rewritten from scratch, including all features that relie on it (e.g., “Live Log” etc).
  • The installer was removed: When activating NinjaFirewall for the first time, it will automatically install itself in “WordPress WAF” mode. To upgrade to “Full WAF” mode, simply click on the corresponding link in the “Overview” page. The process is now very straightforward! A “sandbox” was added too, so that if there were a crash during the process, NinjaFirewall would undo the changes and warn the user.
  • When NinjaFirewall is running in “Full WAF” mode, if the PHP INI file used to load its firewall was deleted by mistake, it would automatically fallback to “WordPress WAF” mode so that the blog will remain protected.
  • Fixed the admin login page bug where some users had to enter their credentials twice.
  • The “Block the DOCUMENT_ROOT server variable in HTTP request” policy will not be enabled by default with new installations of NinjaFirewall.
  • NinjaFirewall will not block users with author and editor role while they are editing a post or page using either the Classic or the new Block Editor.
  • Added Openlitespeed detection to the “Full WAF” mode installer.
  • WP+ Edition (Premium): The “Access Control” pages interface was simplified: it now uses simple textarea elements where you can copy/paste your data (URL, IP, Bot and User Input) very easily. The “Geolocation” page was simplified too.
  • WP+ Edition (Premium): In addition to an IP address or CIDR, you can now also enter an AS number (Autonomous System number). This new feature is very helpful if you want to allow or block all IPs from an ISP or hosting company: just enter their AS number instead of hundreds of IP addresses. Syntax is “AS” + the number, e.g. “AS12345”. See “Access Control > IP Access Control”.
  • WP+ Edition (Premium): You can now add an IP to the Access Control blacklist or whitelist from the “Firewall Log” page by entering the IP in the input field below the log textarea.
  • WP+ Edition (Premium): When running in “WordPress WAF” mode, NinjaFirewall will automatically disable the shared memory option, because that feature is only useful when used in “Full WAF” mode (there is no benefit at all to run it in “WordPress WAF” mode).
  • WP+ Edition (Premium): Fixed a bug where the ISO 3166 country code was not found when using an external PHP Variable instead of the built-in GeoIP database.
  • WP+ Edition (Premium): Improved malicious SVG files detection.
  • WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
  • Many fixes and adjustments.

https://nintechnet.com/ninjafirewall/wp-edition/


May 13, 2019

NinjaScanner v2.0

  • Added a new user interface for the scanner report: nicer UI with a separate section for each items, row action links etc.
  • Added some options to configure the scanner report UI. See “Settings > Advanced Users Settings > Scan report”.
  • New UI is now fully compatible with portable devices.
  • Added an ignored files list: all files moved to that list will be ignored by the scanner, unless they are modified or removed from the list.
  • Improved the file viewer.
  • Added more AJAX actions. All Javascript code was rewritten.
  • Better handling of errors.
  • Added more verbosity below the progress bar when a scan is running.
  • Added HTTP referrer to satisfy Google Safe Browsing application restriction.

https://nintechnet.com/ninjascanner/


May 11, 2019

NinjaFirewall (Pro+/Pro) v3.4.5

  • Improved detection of malicious SVG files.
  • Updated security rules.
  • Minor fixes and adjustements.

https://nintechnet.com/ninjafirewall/pro-edition/


May 06, 2019

NinjaScanner v1.5.1

  • Compatibility with WordPress 5.2.
  • Updated checksum hashes.

https://nintechnet.com/ninjascanner/


April 21, 2019

NinjaFirewall (WP+/WP) v3.9

  • You can select the verbosity of the PHP backtrace attached to email notifications: low, medium or high verbosity. See “Event Notification > PHP backtrace”.
  • Added a new policy to protect the admin-ajax.php script against malicious bots and scanners. See “Firewall Policy > Basic Policies > WordPress AJAX”.
  • WP+ Edition (Premium): NinjaFirewall can check for security rules updates as often as every 15 minutes (versus one hour for the free WP Edition). See “Rules Update > Check for updates”.
  • WP+ Edition (Premium): Added a new access control section: “User Input Access Control”. It can be used to ignore or block specific user input (GET, POST and COOKIE). See “Access Control > User Input”.
  • WP+ Edition (Premium): Role-based Access Control has been improved: it will display all user roles available on the blog, including custom ones from all third-party applications (e.g., WooCommerce, bbPress etc) so that they can be whitelisted too.
  • WP+ Edition (Premium): The / character is now allowed in the Bot Access Control.
  • Improved user_roles protection to prevent blocking third-party applications than may modify it when a non-administrator user is logged-in.
  • Many small fixes, adjustments and improvements.

https://nintechnet.com/ninjafirewall/wp-edition/


April 05, 2019

NinjaFirewall (Pro+/Pro) v3.4.4

  • Improved TLS detection for servers that are behind a load-balancer or reverse proxy.
  • Updated security rules.
  • Minor fixes and adjustements.

https://nintechnet.com/ninjafirewall/pro-edition/


Avril 04, 2019

NinjaScanner v1.5

  • Added an option to check the site against Google’s Safe Browsing Lookup API. See “Settings > Advanced Users Settings > Google Safe Browsing”.
  • Added an option for HTTP basic authentication: if the site is password-protected, you can add the username and password to the “Settings > Advanced Users Settings > Nerds Settings > HTTP basic authentication” option.
  • When attempting to view a file, NinjaScanner will return an error if it is a binary file.
  • Small fixes and adjustements.

https://nintechnet.com/ninjascanner/


March 26, 2019

NinjaFirewall (WP+/WP) v3.8.4

  • Fixed a potential “Call to undefined function wp_get_current_user()” error that may occur with plugins such as RevSlider.

https://nintechnet.com/ninjafirewall/wp-edition/


March 24, 2019

NinjaFirewall (WP+/WP) v3.8.3

  • NinjaFirewall will attach a PHP backtrace to some important email notifications (see “Event Notifications > PHP backtrace”).
  • Fixed an issue where the firewall could not connect to the database if its password contained an escaped single quote.
  • Fixed an issue where it was not possible to use the WordPress plugin and theme editor. This is due to a bug introduced in WordPress 4.9.2 which does not play well with PHP sessions (see https://core.trac.wordpress.org/ticket/43358).
  • The firewall will detect if the PHP mysqli extension is missing or is not loaded and will warn the admin in the backend.
  • Improved TLS detection for servers that are behind a load-balancer or reverse proxy.
  • Various fixes and adjustments.

https://nintechnet.com/ninjafirewall/wp-edition/


March 18, 2019

NinjaScanner v1.4.1

  • Added an exclusion list to avoid false positives when checking user roles and capabilities if the blog is running plugins that add new roles in the database (e.g., WooCommerce).

https://nintechnet.com/ninjascanner/


March 17, 2019

NinjaScanner v1.4

  • NinjaScanner will now also check if some important WordPress options in the database have been tampered with (e.g., user roles and capabilities).

https://nintechnet.com/ninjascanner/


February 19, 2019

NinjaScanner v1.3.4

  • Fixed a potential “Undefined variable: version” PHP notice when writing to the scanner log.
  • Fixed a potential “Failed to open stream” PHP warning when a temporary file was deleted right after the scanner built the list of files.
  • Added the values of “memory_limit” and “max_execution_time” to the scanner log for debugging purposes.
  • Increased the height of the textarea in the “Log” and “Quarantine” pages.
  • Small fixes and adjustements.

https://nintechnet.com/ninjascanner/


February 17, 2019

NinjaFirewall (WP+/WP) v3.8.2

  • Improved the firewall engine to detect shell command obfuscation tricks using uninitialized variables (e.g. ?a=cat$foo $foo/etc/$foo/passwd$foo).
  • Added a policy to disable the fatal error handler introduced in WordPress 5.1. See “Firewall Policies > Basic Policies > Disable the fatal error handler”.
  • Disabled the firewall when running WP-CLI.
  • If the firewall settings were corrupted, the garbage collector would restore the last known good configuration backup. If there is no backup available, it will restore its default settings so that NinjaFirewall will keep working and protecting the site.
  • Various fixes and adjustments.
  • [WP+ Edition] Updated IPv4/IPv6 GeoIP databases.

https://nintechnet.com/ninjafirewall/wp-edition/


January 19, 2019

NinjaFirewall (Pro+/Pro) v3.4.3

  • Improved firewall engine to detect shell command obfuscation tricks using uninitialized variables.
  • Increased all occurrences of “CURLOPT_TIMEOUT” to 60 seconds to prevent timeout when upgrading NinjaFirewall on servers with a slow network connection.
  • Increased the height of the textarea in the “Firewall Log” and “Live Log” pages.
  • Updated security rules.
  • [Pro+ Edition] Updated IPv4/IPv6 GeoIP databases.
  • Minor fixes and adjustements.

https://nintechnet.com/ninjafirewall/pro-edition/