2023-04-20 20:09:49 +00:00
|
|
|
id: sql-server-reportviewer
|
2023-04-20 08:17:10 +00:00
|
|
|
|
|
|
|
info:
|
2023-04-20 20:09:49 +00:00
|
|
|
name: SQL Server ReportViewer - Exposure
|
2023-04-20 08:17:10 +00:00
|
|
|
author: kazet
|
|
|
|
severity: high
|
|
|
|
reference:
|
|
|
|
- https://learn.microsoft.com/en-us/sql/reporting-services/create-deploy-and-manage-mobile-and-paginated-reports?view=sql-server-ver16
|
2023-04-20 20:09:49 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2023-04-20 20:09:49 +00:00
|
|
|
google-query: inurl:"/Reports/Pages/Folder.aspx"
|
|
|
|
tags: misconfig,sql,report,exposure
|
2023-04-20 08:17:10 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-04-20 20:09:49 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /Reports/Pages/Folder.aspx HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
GET /ReportServer/Pages/Folder.aspx HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
2023-04-20 08:17:10 +00:00
|
|
|
|
2023-04-20 20:09:49 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- "status_code_1 == 200 && status_code_2 != 401"
|
|
|
|
- "contains(body, 'Data Source') && contains(body, 'SQL Server Reporting Services')"
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100b740eed8d4c009932dfa1f7cf3eb572e3163d7148296a2a206ea39e0645f1995022100d56aff517c589016472e1ef042f9d557172d13012341acc2dc483910ec6e427b:922c64590222798bb761d5b6d8e72950
|