Files
CVEs-PoC/2022/CVE-2022-25218.md
T
2024-05-25 21:48:12 +02:00

19 lines
1.2 KiB
Markdown

### [CVE-2022-25218](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25218)
![](https://img.shields.io/static/v1?label=Product&message=Phicomm%20Routers&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Use%20of%20RSA%20Algorithm%20without%20OAEP&color=brighgreen)
### Description
The use of the RSA algorithm without OAEP, or any other padding scheme, in telnetd_startup, allows an unauthenticated attacker on the local area network to achieve a significant degree of control over the "plaintext" to which an arbitrary blob of ciphertext will be decrypted by OpenSSL's RSA_public_decrypt() function. This weakness allows the attacker to manipulate the various iterations of the telnetd startup state machine and eventually obtain a root shell on the device, by means of an exchange of crafted UDP packets. In all versions but K2 22.5.9.163 and K3C 32.1.15.93 a successful attack also requires the exploitation of a null-byte interaction error (CVE-2022-25219).
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/chnzzh/OpenSSL-CVE-lib