Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

76
Visualizações
MongoDB being held for ransom

My mongodb is now held for ransom with a message of "Your DB is Backed up at our servers, to restore send 0.1 BTC to the Bitcoin Address then send an email with your server ip". After reading many articles, I am still unsure what publicly accessible database mean. Currently I access my database by SSH into my droplet with username and password and connect via port 27017 how can hacker access my db? Please advise me on what to do to prevent this happening in the future! Thank you

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

To prevent this type of hacking you need make your database secure..

Add the security.authorization setting to the config file

security:
 authorization: enabled

Before enable it, make sure you have created root user with credential to login.

Example:

$ use admin
$ db.createUser(
  {
    user: "superAdmin",
    pwd: "mySecurePassword",
    roles: [ { role: "root", db: "admin" } ]
  })

also you may need to create app separate users for each database with limited access, for more info, I have written one blog here MongoDB enable authentication.

for more info refer MongoDB security best practices and MongoDB security checklist

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda