DataSunrise Achieves AWS DevOps Competency Status in AWS DevSecOps and Monitoring, Logging, Performance

Thousands of MongoDB Databases Left Exposed Online

Thousands of MongoDB Databases Left Exposed Online

 

The year 2017 began with thousands of MongoDB databases containing personal and regulated data being stolen and possibly deleted from the Internet for good. Extortionists replaced the databases with ransom notes demanding payment for restoring the files. In a matter of days, the number of hijacked databases has risen from hundreds to thousands and by January 11 reached over 32,000.

 

MongoDB is a popular free open-source NoSQL database platform with a lot of companies worldwide using it to store their data online.

Although the news may be quite shocking, the problem with MongoDB is well known. Researchers found out about the problem a couple of years ago, discovering that it is easy to misconfigure the database and leave the data exposed online, which allows any remote attacker access the database without applying any special hacking software. For example, the default configuration of MongoDB allows any user to have full access to the database, i.e. not only browse and download it, but also to rewrite and delete it. Over the years, several big companies (Verizon Enterprise, MacKeeper, Kreditech, etc.) accidentally published personal data of their customers via incorrectly configured MongoDB databases.

 

This time non-password-protected MongoDB installations are at target. Organizations that have left their MongoDB databases in the default configuration allowed their databases to be accessed without the need for usernames or passwords or any authentication whatsoever.

This vulnerability affects organizations that are using older versions of the program. In its previous versions MongoDB had unrestricted remote access activated by default. Since the version 3.0 the remote access is disabled by default. But many organizations are still using older versions or didn’t bother to change their configuration settings after installing the newer version, so the unrestricted data access turned on remained unnoticed.

Among the victims facing the problem are two US healthcare providers. Their databases are being held for ransom with medical records of thousands of patients being blocked. The databases contain information such as patients’ names, e-mail addresses, home addresses and highly sensitive details about patients’ medical conditions.

 

Companies that use MongoDB databases should ensure that their security settings are updated to prevent remote access by unauthorized users. Given the number of databases already attacked, failure to do so can result in data being breached, or permanently deleted. It is estimated that there are more than 99,000 organizations that potentially have misconfigured MongoDB databases and, therefore, are at risk.

 

What are the lessons to be learnt from all this? We offer several crucial steps companies should take to protect their databases. If either of these had been applied timely, the situation described above could have been successfully avoided.

Harden Your Database to the Fullest Extent Possible

Default settings are not enough. Database software should be updated in a timely fashion and unneeded default services and functions should be turned off or removed. DBAs must also care about making back-ups.

Enforce Secure Authentication to the Database

Allowing only authorized users to have access to the database is a basic step to ensure data protection. Strong passwords are a must.

Use a Database Firewall

DAF is an essential tool designed to keep data protected. Locating the database server behind a firewall with security rules denying suspicious traffic and not allowing direct client access keeps data safe.

Configure the System Firewall

System administrators are strongly recommended to use system firewalls (e.g. Netfilter, Ashampoo Firewall, Comodo Firewall, etc.) and configure them to close ports on public interfaces.

If you want to fully protect your MongoDB databases use the following tools from DataSunrise:

Next

Load Balancing with HAProxy

Load Balancing with HAProxy

Learn More

Need Our Support Team Help?

Our experts will be glad to answer your questions.

Countryx
United States
United Kingdom
France
Germany
Australia
Afghanistan
Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
Armenia
Aruba
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet
Brazil
British Indian Ocean Territory
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo, Republic of the
Congo, The Democratic Republic of the
Cook Islands
Costa Rica
Cote D'Ivoire
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guernsey
Guinea
Guinea-Bissau
Guyana
Haiti
Heard Island and Mcdonald Islands
Holy See (Vatican City State)
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iran, Islamic Republic Of
Iraq
Ireland
Isle of Man
Israel
Italy
Jamaica
Japan
Jersey
Jordan
Kazakhstan
Kenya
Kiribati
Korea, Democratic People's Republic of
Korea, Republic of
Kuwait
Kyrgyzstan
Lao People's Democratic Republic
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macao
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia, Federated States of
Moldova, Republic of
Monaco
Mongolia
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
North Macedonia, Republic of
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory, Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russian Federation
Rwanda
Saint Helena
Saint Kitts and Nevis
Saint Lucia
Saint Pierre and Miquelon
Saint Vincent and the Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia and Montenegro
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia and the South Sandwich Islands
Spain
Sri Lanka
Sudan
Suriname
Svalbard and Jan Mayen
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan, Province of China
Tajikistan
Tanzania, United Republic of
Thailand
Timor-Leste
Togo
Tokelau
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United States Minor Outlying Islands
Uruguay
Uzbekistan
Vanuatu
Venezuela
Viet Nam
Virgin Islands, British
Virgin Islands, U.S.
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zimbabwe
Choose a topicx
General Information
Sales
Customer Service and Technical Support
Partnership and Alliance Inquiries
General information:
info@datasunrise.com
Customer Service and Technical Support:
support.datasunrise.com
Partnership and Alliance Inquiries:
partner@datasunrise.com