<div dir="ltr"><a href="https://www.wired.com/2017/03/want-stop-big-data-breaches-start-databases/">https://www.wired.com/2017/03/want-stop-big-data-breaches-start-databases/</a><br><br><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span class="gmail-lede" tabindex="-1" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:400;font-style:normal;font-family:ff-oxide-solid-web,oxidesolidot,oxidesolidot-webfont,helveticaneue-bold,"helvetica neue bold","helvetica neue",helvetica,arial,"lucida grande",sans-serif;font-size:14px;vertical-align:baseline;letter-spacing:0.08em;text-transform:uppercase;line-height:14px">OVER THE PAST<span class="gmail-Apple-converted-space"> </span></span>few years, large-scale data breaches have become so common that even tens of millions of records leaking feels unremarkable. One frequent culprit that gets buried beneath the headlines? Poorly secured databases that connect directly to the internet.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">While companies commonly use these databases to store tempting troves of customer and financial data, they often do so with outdated and weak default security configurations. And while any type of database can be left open or unprotected, a string of breaches over the last few years have all centered around one type in particular: open-source “NoSQL” databases, particularly those using the popular MongoDB database program. Of course there are many types of hacks that can ultimately lead to data breaches, like using spear phishing to gain access to a network, but securing exposed databases is a relatively easy and concrete step organizations can take to strengthen their data defense.</p><h3 style="box-sizing:border-box;margin:50px 0px 8px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:400;font-style:normal;font-family:brandon-text-wired,brandon-text,brandon-grotesque-1,brandon-grotesque-2,brandontext-bold,"gill sans",helveticaneue-bold,"helvetica neue bold","helvetica neue",helvetica,arial,"lucida grande",sans-serif;font-size:24px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">All Your Database Are Belong To Us</h3><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Traditional relational databases concentrate data in one or a handful of related servers. By contrast, the newer NoSQL generation of databases scales quickly by arranging massive amounts of data across many servers. Because these databases are open source, anyone can easily implement them. That’s good for attracting customers and getting developers up and running quickly when they’re on deadline, but it also means that MongDB and the other companies that make NoSQL databases don’t have control over how users set up and secure them.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">That disconnect has led to extensive fallout. Memorable unprotected database breaches include the 2015<span class="gmail-Apple-converted-space"> </span><a href="https://krebsonsecurity.com/2015/12/13-million-mackeeper-users-exposed/" target="_blank" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px 0px 3px;border-top-style:initial;border-right-style:initial;border-bottom:3px solid rgb(180,231,248);border-left-style:initial;border-top-color:initial;border-right-color:initial;border-left-color:initial;outline:0px none;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:18px;vertical-align:baseline;color:inherit;text-decoration:none">MacKeeper incident</a><span class="gmail-Apple-converted-space"> </span>in which usernames, passwords and other data leaked for more than 13 million of the security scanner’s customers. In April 2016, security researcher Chris Vickery discovered an exposed database containing the full names, addresses, birthdays and voter registration numbers for all<span class="gmail-Apple-converted-space"> </span><em style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:inherit;font-style:normal;font-family:"exchange ssm 4i",exchangeweb-italic,"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline">93.4 million</em><span class="gmail-Apple-converted-space"> </span><a href="http://www.networkworld.com/article/3060778/security/personal-info-of-all-94-3-million-mexican-voters-publicly-exposed-on-amazon.html" target="_blank" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px 0px 3px;border-top-style:initial;border-right-style:initial;border-bottom:3px solid rgb(180,231,248);border-left-style:initial;border-top-color:initial;border-right-color:initial;border-left-color:initial;outline:0px none;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:18px;vertical-align:baseline;color:inherit;text-decoration:none">Mexican voters</a>, which had been accessible online for seven months. Also in April, hackers<span class="gmail-Apple-converted-space"> </span><a href="https://www.wired.com/2016/04/beautiful-people-hack/" target="_blank" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px 0px 3px;border-top-style:initial;border-right-style:initial;border-bottom:3px solid rgb(180,231,248);border-left-style:initial;border-top-color:initial;border-right-color:initial;border-left-color:initial;outline:0px none;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:18px;vertical-align:baseline;color:inherit;text-decoration:none">stole user data for 1.1 million people</a><span class="gmail-Apple-converted-space"> </span>from the insecure database of the dating website BeautifulPeople.com, and in October hackers compromised personal data from<span class="gmail-Apple-converted-space"> </span><a href="https://arstechnica.com/security/2016/10/breach-exposes-at-least-58-million-accounts-includes-names-jobs-and-more/" target="_blank" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px 0px 3px;border-top-style:initial;border-right-style:initial;border-bottom:3px solid rgb(180,231,248);border-left-style:initial;border-top-color:initial;border-right-color:initial;border-left-color:initial;outline:0px none;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:18px;vertical-align:baseline;color:inherit;text-decoration:none">58 million customers</a><span class="gmail-Apple-converted-space"> </span>of the data storage firm Modern Business Solutions. And those are just some of the most publicized hacks.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">The attacks have also not only continued, but evolved. At the beginning of 2017, a rash of “ransomware” incidents hit exposed MongoDB databases. In<span class="gmail-Apple-converted-space"> </span><a href="https://www.bleepingcomputer.com/news/security/mongodb-databases-held-for-ransom-by-mysterious-attacker/" target="_blank" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px 0px 3px;border-top-style:initial;border-right-style:initial;border-bottom:3px solid rgb(180,231,248);border-left-style:initial;border-top-color:initial;border-right-color:initial;border-left-color:initial;outline:0px none;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:18px;vertical-align:baseline;color:inherit;text-decoration:none">these cases</a><span class="gmail-Apple-converted-space"> </span>attackers actually just deleted a database’s files, but made it seem like paying a Bitcoin ransom worth a few hundred dollars would trigger data restoration.</p><h3 style="box-sizing:border-box;margin:50px 0px 8px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:400;font-style:normal;font-family:brandon-text-wired,brandon-text,brandon-grotesque-1,brandon-grotesque-2,brandontext-bold,"gill sans",helveticaneue-bold,"helvetica neue bold","helvetica neue",helvetica,arial,"lucida grande",sans-serif;font-size:24px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Open Source, Open Sesame</h3><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Security experts have been<span class="gmail-Apple-converted-space"> </span><a href="https://www.trustwave.com/Resources/SpiderLabs-Blog/Mongodb---Security-Weaknesses-in-a-typical-NoSQL-database/" target="_blank" style="box-sizing:border-box;margin:0px;padding:0px;border-width:0px 0px 3px;border-top-style:initial;border-right-style:initial;border-bottom:3px solid rgb(180,231,248);border-left-style:initial;border-top-color:initial;border-right-color:initial;border-left-color:initial;outline:0px none;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:18px;vertical-align:baseline;color:inherit;text-decoration:none">warning about NoSQL configuration insecurity</a><span class="gmail-Apple-converted-space"> </span>for years, and MongoDB specifically has suffered from two issues. First, it used to have some problematic defaults, like not requiring password authentication and granting users overly broad privileges. MongoDB updated these configurations a few years ago. But, second, because MongoDB is open source, it’s easy to find installers online that incorporate outdated or misguided security settings. Someone who doesn’t have a lot of tech experience, or just isn’t paying attention, can easily wind up accessing and relying on flawed configuration files while setting up a database.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">“It’s not as though attackers have exploited any flaw in these technologies, they haven’t exposed any flaw in MongoDB,” says Mat Keep, the director of product and market analysis at MongoDB. “What’s happened is there have been a very small number of users who have not applied the security controls that come as standard with the database and they’ve exposed those databases publicly to the open internet.”</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Unprotected databases are also trivial to find. Both criminals and researchers alike use network visibility tools like the search engine Shodan, which indexes internet-connected devices, to get a sense of how many exposed databases are out there. Currently searching “MongoDB” on Shodan reveals more than 50,000 exposed databases. They may or may not be vulnerable to attack, but simply being visible increases their risk.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">The ubiquity of outdated MongoDB installers and tutorials contributes to the problem, but databases built with current MongoDB releases have been breached as well, usually because whoever set up the database intentionally disabled the default security protections. Security researcher Chris Vickery, who has identified many high-profile database leaks over the last few years, says that poor institutional communication and planning are a hurdle when groups create NoSQL databases. “A problem is that somebody will set up a MongoDB in an insecure way, but safely behind a firewall. And then for whatever reason the device gets plugged in in front of the firewall or the firewall goes down and then all of a sudden the database is exposed,” Vickery says. “The people who set it up never thought it would be exposed to the world, and they never talked to the people who are now taking down the firewall.”</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">This problem also applies to databases on test servers that are built quickly, with intentionally few security measures in place so that it’s easy to work on development projects. If that project becomes a legitimate service without anyone remembering to update its security settings, the database goes from being a private testing ground to a public exposure. “All these servers were placed on the internet without any authentication and Shodan indexed them,” says Niall Merrigan, a solutions architect who compiles information about exposed databases. “This meant that there was an easy way to find open servers.”</p><h3 style="box-sizing:border-box;margin:50px 0px 8px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:400;font-style:normal;font-family:brandon-text-wired,brandon-text,brandon-grotesque-1,brandon-grotesque-2,brandontext-bold,"gill sans",helveticaneue-bold,"helvetica neue bold","helvetica neue",helvetica,arial,"lucida grande",sans-serif;font-size:24px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Course Correct</h3><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Despite MongoDB’s improvements, researchers say that they haven’t yet seen an overall decline in exposed NoSQL databases. “We have tried to be very proactive in enabling people to get the most out of our security features,” MongoDB’s Keep says. “It’s frustrating for us that despite being warned, a tiny minority of people are still failing to apply the most basic protections to their databases.”</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">At least, though, the years of working to raise awareness, by researchers and companies like MongoDB, has resulted in mainstream recognition of the problem. “This issue has been known in the security community for a long time, and it’s really not just a Mongo problem, but it was difficult for us to get anybody to care about it at first,” says John Matherly, the creator of Shodan, who has been tracking MongoDB exposure for years.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Unfortunately, the urgency of evolving threats like the recent “ransomware” hacks is providing much of that belated motivation. Previously, an exposed database could cause an embarrassing breach, but didn’t seem to pose a risk beyond that. The threat of losing entire databases that companies rely on for daily operations, though, has forced people to pay attention. “The whole MongoDB ‘apocalypse’ situation is bad for PR, but it made such a big splash that everybody will hear about it in the tech community, and then maybe it’ll spread awareness faster about securing your Mongo databases. Otherwise, there are real consequences,” Vickery says.</p><p style="box-sizing:border-box;margin:0px 0px 14px;padding:0px;border-width:0px;border-style:none;border-color:currentcolor;outline:0px none;font-weight:normal;font-style:normal;font-family:"exchange ssm 4r",exchangeweb-roman,georgia,serif;font-size:18px;vertical-align:baseline;color:rgb(0,0,0);font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Of course, there were always consequences for the millions of people whose data was exposed. But now that companies feel those pressures too, something might actually be done about it.</p></div>