Page 1 of 1

security

Posted: 13 Dec 2018, 19:29
by alexukie
hi has anyone identified any major security issues / patches we need to apply recently? we have been ddos like crazy from China last few weeks... i wonder if they are searching for any loopholes to get in.. thanks

Re: security

Posted: 14 Dec 2018, 11:25
by RussH
Hey.

there's been no security holes identified recently. I assume as we don't have any '3 strikes and you're out' configuration for logon attempts then they can try to brute force username / passwords.

Please check that you have restrictions on your upload directory and that executables cannot be run (i.e. they can't upload a script then try to call it)
Also - for additional security you can configure an htaccess / htpasswd logon for your back-end admin page if you expose that to the internet.
I also have an antivirus scan (clamav) configured to run relularly on my attachments directory and the upload directory.

If you're concerned with ddos protection in particular, you could look to use Cloudflare.

For security testing, I have been looking at fuzz testing the codebase.. but unfortunately I'm fairly backlogged and could do with reviewing and approving some overdue commits before I get into new stuff!

Re: security

Posted: 16 Dec 2018, 01:46
by alexukie
Thanks Russ

Is there a way to block ip if they try for too many times? '3 strikes and you're out' configuration for logon attempts ?

also what do mean by additional security you can configure an htaccess / htpasswd logon for your back-end admin page if you expose that to the internet?

thanks bud

Re: security

Posted: 16 Dec 2018, 02:27
by alexukie
also when you say restrictions on your upload directory and that executables cannot be run .. what do you chmod your attachment directory? thanks

Re: security

Posted: 05 Feb 2019, 14:20
by RussH
I've proposed a small enhancement to protect against cross-site scripting if you use the careers portal - if you want to apply this manually feel free..

https://github.com/opencats/OpenCATS/issues/406