一百万本护照信息在网上泄露
One million passports leaked online

原始链接: https://www.theverge.com/tech/947157/passports-data-breach-cannabis-club-systems-nefos-puffpal

安全研究员 Sammy Azdoufal 发现了一起大规模数据泄露事件,涉及爱尔兰软件供应商 Cannabis Club Systems (CCS) 存储在公开网址上的近百万份身份证明文件,包括护照、驾照和个人会员资料。 CCS 为大麻俱乐部提供验证系统,由于该系统缺乏基础的身份验证,且其“PuffPal”应用程序的 API 设计存在缺陷,导致敏感数据处于未受保护的状态。任何人只需更改网址或运行简单的命令,就能获取用户的家庭住址、电话号码和消费习惯等隐私信息。 该公司的应对十分缓慢;起初,他们为了满足业务需求,试图在保持系统运行的同时“掩盖”安全漏洞,导致数据反复泄露。在巨大的压力下,CCS 才承诺关闭存在漏洞的 PuffPal 系统。目前,该公司正在配合爱尔兰数据保护委员会进行调查,但此次事件凸显了其在企业责任方面的严重失职。CCS 已承认错误,计划与外包开发公司解约,并因未按欧盟法规要求披露泄露事件而面临潜在的法律处罚。

一起重大数据泄露事件导致一百万人的个人信息曝光,其中包括护照扫描件和驾驶执照。这些敏感文件被不加防护地存放在公共服务器上,该服务器属于为欧洲大麻零售商提供年龄和会员验证服务的平台“PuffPal”。 此事件在 Hacker News 上引发了关于数据留存做法的激烈讨论。用户们对于公司在初步验证过程结束后仍长期存储高价值身份文件的行为表示愤怒。许多人认为,这种做法违反了《通用数据保护条例》(GDPR)中的“存储限制”原则,因为保留此类敏感数据会造成不必要的、高风险的安全隐患。 评论者呼吁对未能保护用户数据的组织实施更严格的监管和惩处,并指出第三方服务机构无限期留存数据的现状是不可持续的。尽管有人建议采用零知识证明等技术方案,但讨论的焦点依然在于:用户被迫为了简单的单次年龄核验而交出永久性身份凭证,这令公众感到非常不满。
相关文章

原文

Typing a few letters and numbers into my web browser, I find myself gaping at the identity documents of complete strangers. The passport of a young woman from Germany. The passport of a man from Spain with glasses resting on his head. The front and back of another man’s driver’s license, a stereotypically goofy expression on his face.

They were all sitting unprotected at public URLs, with no password or access control of any sort. If I sent you a link, you could have looked at someone’s passport.

“We have to do something about it as fast as possible, because people will find this and resell it. It will do damage,” Sammy Azdoufal told me in May.

Azdoufal is the security researcher who used Claude Code to help discover that every DJI Romo robot vacuum cleaner and a million baby monitors and security cameras were embarrassingly easy to hack. This time, he says he discovered over 985,000 photo IDs sitting on the public internet for any half-decent hacker to steal.

If you’ve visited a cannabis club in Spain, Azdoufal says, chances are your photo ID was among them — and possibly your phone number, address, your favorite strains of cannabis, and how much you consumed each month while there. Azdoufal says celebrities are in the database, too, and visitors from all over the world, including 30,000 from the United States. “They have famous people,” says Azdoufal. “People who don’t want everyone to know they smoke weed.”

Here’s a rough summary of the user base that Azdoufal’s automated tool was able to see and the names of some of the clubs:

It’s not the clubs that didn’t protect these identity documents. An Irish company called Cannabis Club Systems (CCS), formally Nefos Solutions, develops and provides the software these clubs use for sales, accounting, and admissions, including a verification system where receptionists upload your IDs and selfies to Nefos’ cloud.

Traditionally, you’d need to provide a photo ID every time you wanted to get into a club. But with the verification system, the receptionist can pull up your stored identity documents and check if your face matches. There’s also an optional app called PuffPal that lets clubs scan a QR code for faster entry.

But when Azdoufal decompiled that PuffPal app, he explains in his report, he discovered that Nefos had no meaningful level of security. He discovered a secret key for the Stripe payments platform sitting inside the app in plain text. He discovered he could pull up any member’s profile just by changing one number. If those profiles included their phone number, home address, passport, and weed preferences, he now had access to them too.

And then, he discovered that those passports, drivers licenses, and photo IDs were stored at public URLs as simple as this: https://ccsnubev2.com/v8/images/_{club}/ID/{user_id}-front.jpg

Those clubs were uploading 5,000 new photo IDs with these insecure URLs every day, Azdoufal tells me.

He also found an admin portal accessible via the public internet — and that the cannabis clubs had a trivial level of security on their own accounts, using passwords that could theoretically be cracked in minutes with a modern GPU. Private chat messages between clubs and members through the PuffPal app were also vulnerable.

The good news: Roughly a month after we reached out to Nefos, the company seems to finally be taking meaningful action. The company says it’s shutting down its entire PuffPal system and vulnerable APIs until they can be fixed — in Azdoufal’s latest tests on June 10th, passport images and personal data seem to be secure. Nefos has also informed local authorities and says it will take responsibility to make fixes, pay fines, and tell users what happened.

In a phone interview, Nefos cofounder Andreas Nilsen tells The Verge that he’s in touch with Ireland’s Data Protection Commission (DPC) about the data breach — a fact that DPC spokesperson Evan O’Leary confirmed to us by email. “We have to communicate to everyone that was potentially exposed,” Nilsen tells me, saying he hopes the DPC can show his company how to do that properly. Nilsen claims there’s currently no evidence that any outsider accessed the data other than Azdoufal.

But it took far too long for Nefos to take the threat seriously. It took five days and the threat of a story before the company replied to us, long after Azdoufal reached out. Then, Nefos began by papering over the holes instead of risking business.

I was prepared to write this story at the beginning of June, after Azdoufal told me Nefos had finally locked down the passport images. But on June 4th, I surprised Azdoufal by showing him that his very own passport was online once again, without any protection.

That’s because Nefos had not yet stopped cannabis clubs from using the PuffPal app, and clubs were complaining the locked-down images weren’t showing up the way they used to — so Nefos simply unlocked the images again. While Nilsen claims the images were locked down “70 percent of the time” since Azdoufal and I got in touch, it’s pretty clear that Nefos made a decision to prioritize its customers instead of the threat.

On June 9th, Azdoufal discovered that even though Nefos had locked down the passport images and photo IDs with tokens, everything else in the user profiles was still easily accessible: passport numbers, phone numbers, email addresses, home addresses, everything.

All a hacker had to do was type “curl -X POST https://ccsnubev2.com/v8/api/userProfile.php -d “user_id=[NUMBER]&[CLUB NAME]=test&language=en” into a command line, and the servers would freely give up a ream of personal information. After we brought this to Nefos’ attention, that hole, too, has been closed.

But how could the company be so careless? “I don’t want to put the blame on others because at the end of the day it resides with us,” Nilsen says. But he does point the finger at 9Series, an outsourcing firm he claims was responsible for developing the PuffPal app and creating all the vulnerable APIs it used to pull unprotected data from Nefos’ user database. (9Series did not have a response by publish time.)

Now that PuffPal is down, Nefos is emailing every club to let them know their members won’t be able to use those QR codes for entry — but they can still pull up IDs from Nefos’ servers after scanning a member’s RFID card or typing in their phone number, among other examples.

Nilsen claims his company will not simply relaunch unsecured PuffPal if the clubs ask. “We’re going to tell them we can’t,” he says. “We will make sure, after this debacle, that this is verified by an independent security researcher and guarantee that this is 100 percent secure.” He says Nefos is parting ways with 9Series and hopes to have a new app within a few months.

Nilsen says he’s aware that under EU law, his company legally had to disclose the breach within 72 hours or pay significant fines, something the company didn’t do. “I’m sure we’ll get whatever kind of penalty there is,” Nilsen says.

Just last month, a website called the UK Visa Portal similarly exposed at least 100,000 passports to anyone who could guess a URL. Let’s hope this is a wakeup call.

Follow topics and authors from this story to see more like this in your personalized homepage feed and to receive email updates.
联系我们 contact @ memedata.com