Exploit database

Vulnerability

CVE-2020-7357

Cayin CMS Command Injection

Vulnerability details

Score
9.6
Severity
critical

CVSS 3.1 · rapid7

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Description

Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. This can be exploited to inject and execute arbitrary shell commands as the root user through the 'NTP_Server_IP' HTTP POST parameter in system.cgi page. This issue affects several branches and versions of the CMS application, including CME-SE, CMS-60, CMS-40, CMS-20, and CMS version 8.2, 8.0, and 7.5.

CVE Program

Exploit source choices

1 source
Cayin CMS NTP Server RCE
MSF-linux--http--cayin_cms_ntpMetasploitLinux / remotePreferred

This module exploits an authenticated RCE in Cayin CMS <= 11.0. The RCE is executed 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.

2020-06-04cayin_cms_ntp.rb