The firewall is blocking all uploads of all administrators
-
Ditails:
PHP ver. — 5.3.3
Ninja ver. — 3.1 (security rules: 2016-03-11.2)
WP ver. — 4.4.2
WP type — multisiteProblem: The super admin / admin on subdomain tries to upload a file – http error occurs. If Enable option “File Uploads – Allow uploads” upload works for all users.
What I did?
##Thisscript.php
<?php if (! session_id() ) { session_start(); echo 'Starting session.<br />'; } else { echo 'Session was already started.<br />'; } echo 'Checking "nfw_goodguy" session flag: '; if ( empty($_SESSION['nfw_goodguy'])) { echo ' ERROR: not found.'; } else { echo ' OK, found it.'; } ?>
If I login to the superadmins primary domain, the script writes that the session found:
Session was already started.
Checking “nfw_goodguy” session flag: OK, found it.If I login to the superadmins subdomain, the script writes that the session could not be found:
Session was already started.
Checking “nfw_goodguy” session flag: ERROR: not found.##Test #1: Event Notifications. Part I (super admin)
https://www.ads-software.com/support/topic/ninja-firewall-blocking-admin-user-uploads?replies=16#post-7725645USER: Super-admin. Owner
Login to the main site, received a notice in the mail.Someone just logged in to your WordPress admin console:
-User : super_admin (administrator)
-IP : ***.***.182.149
-Date : Март 19, 2016 @ 02:27:51 (UTC +0400)
-Blog : https://infocult.me/NinjaFirewall (WP Edition) – https://ninjafirewall.com/
Support forum: https://www.ads-software.com/support/plugin/ninjafirewallI’m trying to upload a file to a subdomain.
Firewall Log:19/Mar/16 02:27:51 #4931300 info – ***.***.182.149 POST /wp-login.php – Logged in user – [super_admin (administrator)] – infocult.me
19/Mar/16 02:31:32 #7932120 critical – ***.***.182.149 POST /wp-admin/async-upload.php – Blocked file upload attempt – [phone_icon_w.png, 1,205 bytes] – sf.infocult.me—
USER: Super-admin. Owner
Login to the subdimain site, in the e-mail did not come.Entries that I have logged in firewall, but there are that the file is locked.
19/Mar/16 02:48:58 #3313975 critical – ***.***.182.149 POST /wp-admin/async-upload.php – Blocked file upload attempt – [phone_icon_w.png, 1,205 bytes] – sf.infocult.me
##Test #1: Event Notifications. Part II (other subdomain admin)
USER: test-admin. Subdomain other admin
Login to the main site, received a notice in the mail.Someone just logged in to your WordPress admin console:
-User : test-admin (not in users list)
-IP : ***.***.182.149
-Date : Март 19, 2016 @ 02:53:24 (UTC +0400)
-Blog : https://infocult.me/NinjaFirewall (WP Edition) – https://ninjafirewall.com/
Support forum: https://www.ads-software.com/support/plugin/ninjafirewallThisscript.php (main domain):
Session was already started.
Checking “nfw_goodguy” session flag: OK, found it.Thisscript.php (subdomain):
Session was already started.
Checking “nfw_goodguy” session flag: ERROR: not found.I’m trying to upload a file to a subdomain.
Firewall Log:19/Mar/16 02:53:25 #2845129 info – ***.***.182.149 POST /wp-login.php – Logged in user – [test-admin (not in users list)] – infocult.me
19/Mar/16 02:53:47 #6699791 critical – ***.***.182.149 POST /wp-admin/async-upload.php – Blocked file upload attempt – [SteveJobsCloseUp.jpg, 46,886 bytes] – sf.infocult.me—
USER: test-admin. Subdomain other admin
Login to the subdimain site. Notifications to the mail did not come again. But the firewall recorded attempt to upload a file.19/Mar/16 03:01:56 #5650841 critical – ***.***.182.149 POST /wp-admin/async-upload.php – Blocked file upload attempt – [SteveJobsCloseUp.jpg, 46,886 bytes] – sf.infocult.me
________________________________________________________
Follow the instructions here
https://www.ads-software.com/support/topic/ninja-firewall-blocking-admin-user-uploads?replies=16#post-8026331The file nfwpexport.txt I already sent an e-mail “contact at nintechnet dot com”, label [inficult.me-ninjafirewall-problem] ??
- The topic ‘The firewall is blocking all uploads of all administrators’ is closed to new replies.