I'm running into a strange issue with a brand new install of Security Onion running 16.04.5.3.
Once I get my master server stood up, I'm unable to log into Squert. I immediately see "The user name or password is incorrect" even when I'm using an uncached browser. When I click submit, the screen flashes and takes me back to the login page.
I know my password is correct, because I'm able to log into SGUIL without any problems and resetting that password doesn’t resolve the issue. Creating a new user results in the same behavior.
https://github.com/Security-Onion-Solutions/security-onion/wiki/Passwords
sudo nsm_server_user-passwd
----------------
Do you want to change the password of <USER>? (Y/N) [Y]: Y
Changing password for: <USER> => securityonion
Password for <USER> successfully changed.
----------------
I thought this might have been a fluke, I redeployed a new VM and started over... still the same issue.
I downloaded the ISO from the Security Onion Github repo and the verify came back with "Good signature"
https://github.com/Security-Onion-Solutions/security-onion/blob/master/Verify_ISO.md
mysqlcheck shows the databases are OK:
root@<MASTER_SERVER>:/var/www/so/squert/.inc# mysqlcheck -u readonly -p securityonion_db
Enter password:
securityonion_db.autocat OK
securityonion_db.data OK
securityonion_db.data_<SENSOR>-ossec_20181024 OK
securityonion_db.data_<MASTER_SERVER>-ossec_20181023 OK
securityonion_db.data_<MASTER_SERVER>-ossec_20181024 OK
securityonion_db.event OK
securityonion_db.event_<SENSOR>-ossec_20181024 OK
securityonion_db.event_<MASTER_SERVER>-ossec_20181023 OK
securityonion_db.event_<MASTER_SERVER>-ossec_20181024 OK
securityonion_db.filters OK
securityonion_db.history OK
securityonion_db.icmphdr OK
securityonion_db.icmphdr_<SENSOR>-ossec_20181024 OK
securityonion_db.icmphdr_<MASTER_SERVER>-ossec_20181023 OK
securityonion_db.icmphdr_<MASTER_SERVER>-ossec_20181024 OK
securityonion_db.ip2c OK
securityonion_db.mappings OK
securityonion_db.nessus OK
securityonion_db.nessus_data OK
securityonion_db.object_mappings OK
securityonion_db.pads OK
securityonion_db.portscan OK
securityonion_db.sensor OK
securityonion_db.stat_types OK
securityonion_db.stats OK
securityonion_db.status OK
securityonion_db.tcphdr OK
securityonion_db.tcphdr_<SENSOR>-ossec_20181024 OK
securityonion_db.tcphdr_<MASTER_SERVER>-ossec_20181023 OK
securityonion_db.tcphdr_<MASTER_SERVER>-ossec_20181024 OK
securityonion_db.udphdr OK
securityonion_db.udphdr_<SENSOR>-ossec_20181024 OK
securityonion_db.udphdr_<MASTER_SERVER>-ossec_20181023 OK
securityonion_db.udphdr_<MASTER_SERVER>-ossec_20181024 OK
securityonion_db.user_info OK
securityonion_db.version OK
root@<MASTER_SERVER>:/opt# so-status
Status: securityonion
* sguil server [ OK ]
Status: HIDS
* ossec_agent (sguil) [ OK ]
However, I did see in the Apache error logs, this triggers every time I submit a username/password. From my understanding, this might be the issue but I don't know how to resolve it.
/var/log/apache2/error.log
[Wed Oct 24 21:22:14.458015 2018] [:error] [pid 25184] [client <SOURCE_IP:PORT>] PHP Notice: Undefined index: PHP_AUTH_USER in /var/www/so/squert/login.php on line 40, referer: https://<MASTER_SERVER>/squert/login.php
[Wed Oct 24 21:22:14.458087 2018] [:error] [pid 25184] [client <SOURCE_IP:PORT>] PHP Notice: Undefined index: PHP_AUTH_PW in /var/www/so/squert/login.php on line 41, referer: https://<MASTER_SERVER>/squert/login.php
The issues kind of seems similar to these topics but not exactly:
1. https://groups.google.com/forum/#!searchin/security-onion/squert$20the$20user$20name$20or$20password$20is$20incorrect|sort:date/security-onion/3EXfALKe65k/UFXuMbsAAgAJ
Has anyone ever seen anything like this?
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
To post to this group, send email to security-onion@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
To post to this group, send email to security-onion@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.