OMERO under attack
Posted: Mon Jul 09, 2018 7:47 am
Hi guys,
during the weekend I received e-mails with the subject "login failed for root" from our OMERO server.
My question now is, what triggerd this mail? Was it a failed login via the web-interface, or worse? Where can I find out more about this?
I've been trying to find out if we've ben hacked all morning. I couldn't find any clues in the logs of our main OMERO server but, when I checked the logs of our OMERO.web I noticed we are under fire! Althoug most of it is just trying to poll pages for admin logins (e.g. phpMyAdmin, typo3, WordPRess, ...), some requests managed to cause unhandled exceptions, which I think is serious!
Here's the log:
Best,
Gebhard
during the weekend I received e-mails with the subject "login failed for root" from our OMERO server.
My question now is, what triggerd this mail? Was it a failed login via the web-interface, or worse? Where can I find out more about this?
I've been trying to find out if we've ben hacked all morning. I couldn't find any clues in the logs of our main OMERO server but, when I checked the logs of our OMERO.web I noticed we are under fire! Althoug most of it is just trying to poll pages for admin logins (e.g. phpMyAdmin, typo3, WordPRess, ...), some requests managed to cause unhandled exceptions, which I think is serious!
Here's the log:
- Code: Select all
2018-07-03 11:31:18,869 ERROR [ django.request] (proc.01238) handle_uncaught_exception():256 Internal Server Error: /p.php
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 223, in get_response
response = middleware_method(request, response)
File "/usr/local/lib/python2.7/dist-packages/django/middleware/common.py", line 153, in process_response
fail_silently=True)
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/__init__.py", line 111, in mail_managers
mail.send(fail_silently=fail_silently)
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/message.py", line 303, in send
return self.get_connection(fail_silently).send_messages([self])
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 111, in send_messages
self.close()
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 84, in close
self.connection.close()
File "/usr/lib/python2.7/smtplib.py", line 764, in close
sock = self.sock
AttributeError: SMTP instance has no attribute 'sock'
2018-07-03 11:31:18,869 ERROR [ django.request] (proc.01238) handle_uncaught_exception():256 HTTP 500 <WSGIRequest: GET '/p.php'>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 223, in get_response
response = middleware_method(request, response)
File "/usr/local/lib/python2.7/dist-packages/django/middleware/common.py", line 153, in process_response
fail_silently=True)
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/__init__.py", line 111, in mail_managers
mail.send(fail_silently=fail_silently)
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/message.py", line 303, in send
return self.get_connection(fail_silently).send_messages([self])
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 111, in send_messages
self.close()
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 84, in close
self.connection.close()
File "/usr/lib/python2.7/smtplib.py", line 764, in close
sock = self.sock
AttributeError: SMTP instance has no attribute 'sock'
Best,
Gebhard