Riyan Firmansyah Research & Publications

_

← Back

Man-in-the-Middle Remote Code Execution via CWMP in ReyeeOS

CVE-2023-53881

Summary

ReyeeOS versions prior to EW_3.0(1)B11P219 contain an unprotected CWMP communication that allows attackers to intercept and manipulate device communication through a man-in-the-middle (MITM) attack. Attackers can create a fake CWMP server to inject and execute arbitrary commands on Ruijie Reyee Cloud devices by exploiting the unprotected HTTP polling requests.

Vulnerability Details

The vulnerability exists because the CWMP communication between Ruijie Reyee devices and the cloud controller uses unencrypted HTTP instead of HTTPS. This allows an attacker positioned on the network to:

  1. Intercept CWMP traffic between the device and cloud controller
  2. Inject arbitrary commands into the command queue
  3. Execute those commands on the target device

The communication flow follows the TR-069 CWMP protocol standard, where the device periodically polls the ACS (Auto Configuration Server) for pending commands.

Affected Versions

Patched Versions

Impact

A network-adjacent attacker could:

Timeline (GMT+7)

References