Skip navigation
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_Reviews17K followers

Visit on X
23,510 likesDownloadOriginal post

3,415,493 views #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 Comments

Comments from the original post on X (Twitter)

  • The Collective Sensemaking Project's profile picture

    @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 likes

  • Paul Moore - Security Consultant 's profile picture

    @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 likes

  • Deforl's profile picture

    @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 likes

  • Evil Penguin's profile picture

    @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 likes

  • Nami-san_0307's profile picture

    @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 likes

  • The Collective Sensemaking Project's profile picture

    @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 likes

  • Paul Moore - Security Consultant 's profile picture

    @Paul_Reviews

    It gets worse @prestonjbyrne

    511 likes

  • Erik's profile picture

    @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 likes

  • Paul Moore - Security Consultant 's profile picture

    @Paul_Reviews

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

    514 likes

  • Erik's profile picture

    @DV1k1ng

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

    79 likes

  • FrauHodl's profile picture

    @FrauHodl

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

    105 likes

  • AnKo's profile picture

    @anko_979

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

    84 likes

  • Paul Moore - Security Consultant 's profile picture

    @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 likes

  • AI Dude 🇪🇺's profile picture

    @AI_dude_eu

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

    3 likes

  • AnKo's profile picture

    @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 likes

  • AI Dude 🇪🇺's profile picture

    @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 likes

  • AnKo's profile picture

    @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 likes

  • AnKo's profile picture

    @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 likes

  • AeonNumen IX's profile picture

    @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 likes

  • Paul Moore - Security Consultant 's profile picture

    @Paul_Reviews

    I've seen vibe apps built with more care.

    113 likes