module

Cayin CMS NTP Server RCE

Disclosed
2020-06-04
Created
2020-06-18

Description

This module exploits an authenticated RCE in Cayin CMS in the system_service.cgi file's ntpIp Parameter. The field is limited in size, so
repeated requests are made to achieve a larger payload.
Cayin CMS-SE is built for Ubuntu 16.04 (20.04 failed to install correctly), so the
environment should be pretty set and not dynamic between targets.
Results in root level access.

Authors

h00die
Gjoko Krstic (LiquidWorm) gjoko@zeroscience.mk

Platform

Linux

Architectures

x86, x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/http/cayin_cms_ntp
msf exploit(cayin_cms_ntp) > show targets
...targets...
msf exploit(cayin_cms_ntp) > set TARGET < target-id >
msf exploit(cayin_cms_ntp) > show options
...show and set options...
msf exploit(cayin_cms_ntp) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.