Unauthorized physical access via predictable NFC keys
Published Jan 20, 2022 · Updated Sep 16, 2024
Weak key generation in TELENOT compasX before 32.0 allows physically proximate attackers to clone NFC tags for unauthorized entry. Two AES-key routines seed Borland rand() with the current Unix time through srand(time()), reducing the effective key space to 32 bits. Exposure requires DESFire EV1 or EV2 tags provisioned with affected keys; a PIN requirement can block tag-only entry, while remote access also requires a six-digit password.
Summary
What happened
Weak key generation in TELENOT compasX before 32.0 allows physically proximate attackers to clone NFC tags for unauthorized entry. Two AES-key routines seed Borland rand() with the current Unix time through srand(time()), reducing the effective key space to 32 bits. Exposure requires DESFire EV1 or EV2 tags provisioned with affected keys; a PIN requirement can block tag-only entry, while remote access also requires a six-digit password.
The record
- CVE
- CVE-2021-34600
- Published
- Jan 20, 2022
- Updated
- Sep 16, 2024
- Vendor
- TELENOT ELECTRONIC GmbH
- Product
- compasX
- Classifications
- CWE-335, T1110
- Attack vector
- physical
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 20, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <32.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- X41 DESFire key-recovery and tag-cloning proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo