
PWNED Welcome, once again, to PWNED, the weekly column where we highlight others' security failures. Hopefully, there's a lesson in all this, but it could just be stop shooting yourself in the foot." Have a story about someone leaving a gaping hole in their network? Share it with us at pwned@sitpub.com. Anonymity is available upon request. Our story today comes courtesy of Siim Kostabi, co-founder of Pageloot, a company that provides QR codes businesses can use for marketing. Kostabi's tale of tech terror reminds us that credentials, even for a staging server, have a lot of value in the wrong hands. He explains that his company brought in a contractor to help with some API integrations on the back end. That developer had the credentials for the staging environment and wanted to be able to view them across different devices they were using for the job. So what was the developer's solution to the very common problem of keeping track of usernames and passwords? They could have chosen a password manager. They could have written the passwords down in a paper notebook and kept it hidden from prying eyes. They could have gotten a password tattoo. They could even have emailed the passwords to themselves and it would have been smarter than what they did. Instead, the outside developer decided to store their password in a Google Doc. And they set that Google Doc to be viewable by anyone on the internet who had the link. And then, one day, an employee at the company found the Google Doc with the staging credentials in it because Google Search had indexed it and offered it as a search suggestion. A developer on our team was debugging something unrelated and typed our domain into Google Search," Kostabi recalls. The autocomplete surfaced one of our staging hostnames followed by what looked like a credential string. We checked, and there was a publicly accessible Docs URL." Yikes! Just imagine that not only are your company's credentials available to anyone online, but they are indexed in Google Search for the world to find! Once they discovered the problem, Kostabi's company immediately cut access for that contractor and rotated all of its exposed credentials. They also set a new rule: no storing passwords on Google Docs, Slack, Notion, or other collaboration tools. In a separate incident, Kostabi heard from a Pageloot customer, a mid-size retailer, whose QR codes were suddenly directing users to a competitor's site. After investigating, he found that a disgruntled ex-employee's credentials had not been revoked and that the former employee had used that access to redirect all of the retailer's URLs, costing it customers. The takeaway from both of these problems is that you need to carefully control access. Former employees should immediately lose access to everything and current contractors should be reasonably intelligent people you can trust. Both situations were completely avoidable with basic hygiene," Kostabi said. Proper offboarding, access reviews, and not treating shared docs like private vaults." (R)