-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Critical : mongodb hacked #3334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe this may be related to: http://arstechnica.com/security/2017/01/more-than-10000-online-databases-taken-hostage-by-ransomware-attackers/ |
I'm not sure how we can help there. Did you have any backup? Hosted on a provider like mlab? |
It's still not clear to me from the Ars article or the MongoDB blog post if there is a vulnerability or if these were just unsecured DBs, with weak or no credentials @jigneshk did you not have a strong password for your db user or do you know what happened? |
Probably unprotected / no auth DB's that were deployed on a public port. |
You can block the remote access in the with iptables and use mongo on localhost and use user/password protection. It is recomended to use ssl too iptables -A INPUT -s 127.0.0.1/32 -p tcp -m tcp --dport 27017 -j ACCEPT |
relevant response from Mongo https://www.mongodb.com/blog/post/how-to-avoid-a-malicious-attack-that-ransoms-your-data |
@ajamaica Setting that or also using bindIp blocks the connection even from my mobile app. How do I fix that? |
Be sure your Parse instance is set to localhost if your server is in
another add user base accsess
El 08/01/2017 11:39 a.m., "Siddharth Ramesh" <[email protected]>
escribió:
… @ajamaica <https://github.com/ajamaica> Setting that or also using bindIp
blocks the connection even from my mobile app. How do I fix that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3334 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AATVFthnIvTnZGgV1kxiNG-A1Ue_1CIrks5rQR9cgaJpZM4LdPJJ>
.
|
@ajamaica Ok. Got it. Works fine now. |
My server was also hacked. |
One thought I had about the data, maybe the hackers didn't drop the oplog? If it's the case, you might be able to get some data back. Have a look in local.oplog.rs... |
Same problem here, in my case the server is hosted in DO. At least my mongodb only had tests at the moment. It would be nice to have a brief and understandable list of steps to make this safe. |
Closing this issue as there is nothing that can be done by Parse Server itself. |
Same problem here, about 20k users data were lost. |
Some basic things to setup:
Start
Backup your db daily. Hook up with a provider or use this simple script to backup your db locally everyday.
Next, save the above script and mark it as executable:
Next, configure a cron job to run this everyday at your desired time.
This will create a new Cron file if you haven’t already created one and open it. Enter this in a new line:
If the data you are sending over the wire is sensitive then use ssl Please keep adding more stuff so that the whole parse community is protected. |
For me, my mongo database was hacked early this month. I tried to restore the database from my backup (Thanks God, I had a backup on Digital Ocean). But the data was hacked again 3-4 times. |
Hello team,
After migrated my database to AWS ec2 server, it was working fine from last few weeks. But today I can see that all the data are deleted.
May be it is attacked by malware or hacked by someone.
Can anyone please help me out? my app is live and people lost their data.
This is really serious problem and I am in a serious pressure.
Please Please Please help me out.
Thanks
Jignesh
The text was updated successfully, but these errors were encountered: