Vulnerability in Phicomm K2 Firmware
CVE-2022-25219
A null byte interaction error has been discovered in the code that the telnetd_startup daemon uses to construct a pair of ephemeral passwords that allow a user to spawn a telnet service on the router, and to ensure that the telnet service persists upon reboot. By means of a crafted exchange of UDP packets, an unauthenticated attacker on the local network can leverage this null byte interaction error in such a way as to make those ephemeral passwords predictable (with 1-in-94 odds). Since the attacker must manipulate data processed by the OpenSSL function RSA_public_decrypt(), successful exploitation of this vulnerability depends on the use of an unpadded RSA cipher (CVE-2022-25218).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 56.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Phicomm K2 Firmware
- Phicomm K2g Firmware
- Phicomm K2p Firmware
- Phicomm K3c Firmware
- Phicomm K3 Firmware
- Phicomm Routers — versions K3 >= 21.5.37.246, K3C >= 32.1.22.113, K2P >= 20.4.1.7, K2 A7 >= 22.6.506.28, K2G A1 >= 22.6.3.20
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, chnzzh/OpenSSL-CVE-lib). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.tenable.com/security/research/tra-2022-01 (Exploit, Third Party Advisory)