跳过导航
Hacking the #EU #AgeVerification app in under 2 minutes.
0:00 / 2:13

Hacking the #EU #AgeVerification app in under 2 minutes.

Paul Moore - Security Consultant 

@Paul_Reviews1.7万 位关注者

在 X 上查看
23,510 个赞下载原帖

3,415,482 次观看 #EU #AgeVerification

Hacking the #EU #AgeVerification app in under 2 minutes. During setup, the app asks you to create a PIN. After entry, the app *encrypts* it and saves it in the shared_prefs directory. 1. It shouldn't be encrypted at all - that's a really poor design. 2. It's not cryptographically tied to the vault which contains the identity data. So, an attacker can simply remove the PinEnc/PinIV values from the shared_prefs file and restart the app. After choosing a different PIN, the app presents credentials created under the old profile and let's the attacker present them as valid. Other issues: 1. Rate limiting is an incrementing number in the same config file. Just reset it to 0 and keep trying. 2. "UseBiometricAuth" is a boolean, also in the same file. Set it to false and it just skips that step. Seriously Ursula von der Leyen - this product will be the catalyst for an enormous breach at some point. It's just a matter of time.

63 条评论

评论来自 X (Twitter) 上的原帖

  • The Collective Sensemaking Project 的头像

    @csmproject

    Apart from the things you highlighted, why do users only have a certain number of age verifications available? Why does proof of age have an expiration date? Once I'm over 18, I will always be over 18. I'm not turning any younger!

    1,522 个赞

  • Paul Moore - Security Consultant  的头像

    @Paul_Reviews

    ... and that my friend, shows you understand the core problem. Users now have to verify their age to use accounts they opened more than 18 years ago.

    2,038 个赞

  • Deforl 的头像

    @deforl

    @csmproject That is insane. They really just want to turn it into a constants 'Paper please' mentality where you will need to validate yourself constantly.... Nah, I am good, this is just crazy.

    225 个赞

  • Evil Penguin 的头像

    @evilpenguin0

    @Paul_Reviews @csmproject In the COVID era, despiste that i worked and that I was vaccinated by the hospital, they wanted me show this stupid thing (certificate)every time i enter my work in the hospital. How can i become unvaccinated after I'm already vaccinated? What a joke is everything.

    44 个赞

  • Nami-san_0307 的头像

    @0307San

    @deforl @Paul_Reviews @csmproject Die Impfung hatte doch eh ein Ablaufdatum. Der angebliche Schutz wurde ja immer weiter verkürzt. Von "jahrzehntelang" ging's zu "nach 3 Monaten boostern".

    22 个赞

  • The Collective Sensemaking Project 的头像

    @csmproject

    @evilpenguin0 @deforl @Paul_Reviews Never understood how "It's a different strain of virus." could be compensated by "Well, just take more of eat more frequently."

    13 个赞

  • Paul Moore - Security Consultant  的头像

    @Paul_Reviews

    It gets worse @prestonjbyrne

    511 个赞

  • Erik 的头像

    @DV1k1ng

    You should have kept this to yourself, and totally destroy credibility of the app after its implementation. Could have been the immediate end of it.

    169 个赞

  • Paul Moore - Security Consultant  的头像

    @Paul_Reviews

    I'd rather not put millions of people at risk of identity theft to prove a point.

    514 个赞

  • Erik 的头像

    @DV1k1ng

    Not to prove a point, but to eliminate this plan. It's the only way.

    79 个赞

  • FrauHodl 的头像

    @FrauHodl

    It's not a bug. It's a feature.

    105 个赞

  • AnKo 的头像

    @anko_979

    To be fair the actual docs don't present it as production / hardened ready But the officials' statements suggest otherwise

    84 个赞

  • Paul Moore - Security Consultant  的头像

    @Paul_Reviews

    That's a fair comment actually. Trouble is, these aren't a few bug fixes. If the core authentication & cryptographic mechanisms are broken, it begs the question why. I'm not arguing they can't be fixed. I'm asking why they exist in a "technically ready, high privacy" app. More importantly, how an the President of the EU push such garbage.

    257 个赞

  • AI Dude 🇪🇺 的头像

    @AI_dude_eu

    @anko_979 You are free to contribute on the android repo! or iOS

    3 个赞

  • AnKo 的头像

    @anko_979

    @Paul_Reviews That's a nice touch, the project is really open-source But it doesn't strike nice to have statements about "production-readiness" and then counting on external volunteers, given the budget of the EU and the sensitivity of the app

    3 个赞

  • AI Dude 🇪🇺 的头像

    @AI_dude_eu

    @Paul_Reviews The guy is exaggerating the security issues. Findings are valid, to use his findings, attacker must get his phone, must circumvent Android security and more. Very unlikely. So why did he not choose to just contribute? Hes against AVS and he is from the UK + cant even use the app

    4 个赞

  • AnKo 的头像

    @anko_979

    @Paul_Reviews Laymen could misinterpret the tweet as some "here-and-now" risk, yes this could be clarified But the standards should be extraordinarily high if such an app is set to become ubiquitous across the EU This would make the app a major target on infiltrated devices

    6 个赞

  • AnKo 的头像

    @anko_979

    @Paul_Reviews So 'very unlikely' is obviously not a good standard Even a miniscule percent of infiltrated devices would translate to very large numbers of sensitive data breaches And not only re: biometrics, the app currently logs requests and its data could also be used for blackmailing

    5 个赞

  • AeonNumen IX 的头像

    @aeonnumen

    Even a poorly developed crypto project offers more security than this EU app. And those projects are actually open-source and were developed for a few thousand euros, not millions.

    74 个赞

  • Paul Moore - Security Consultant  的头像

    @Paul_Reviews

    I've seen vibe apps built with more care.

    113 个赞