Report this

What is the reason for this report?

How did my database got hacked ?

Posted on May 30, 2019

Hi, I’m developing a multiplayer game in my free time and when I connected to my droplet today I figured out that my database was just hacked:

https://ibb.co/vkN83k9

Altough I havn’t set specific securities, my root user has a 9 chars alphanumerical password, is it possible that it got bruteforced ? Ubuntu hasn’t a bruteforce protection ?

Thanks :)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It was most-likely an SQL injection. You could try checking your access logs for some odd looking POST requests. Also always make sure to sanitize your queries.

My database also got hacked recently. I had alphanumeric (15 character) password which is virtually impossible for Bruteforce and username was also not root.

And today I got an email from digitalocean that some of my data including my billing info username and droplet details got leaked by some internal person.

Not sure how far should I trust digitalocean.

It is mostly due to SQL injection. Try to check your access logs for some odd looking POST requests. Thanks…

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.