CVE-2022-25219 Weak cryptography in Phicomm Routers
An unauthenticated local attacker can predict ephemeral telnet passwords via a null byte error, enabling unauthorized telnet access to Phicomm routers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-25219?
CVE-2022-25219 is a high-severity vulnerability in Phicomm Routers, published on 7 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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).
Which versions are affected by CVE-2022-25219?
It affects 5 products.
Products include Phicomm K2 Firmware, Phicomm K2g Firmware, Phicomm K2p Firmware, Phicomm K3 Firmware, Phicomm K3c Firmware.
How do I fix CVE-2022-25219?
No fix has been published for CVE-2022-25219 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-25219 being exploited?
There is no known exploitation of CVE-2022-25219 in the wild and no public exploit code.
Other vulnerabilities in Phicomm Routers
Sources
Also known as GHSA-vh93-7ch4-7jjr.