nuclei-templates/http/misconfiguration/sql-server-report-viewer.yaml

30 lines
802 B
YAML
Raw Normal View History

2023-04-20 20:09:49 +00:00
id: sql-server-reportviewer
info:
2023-04-20 20:09:49 +00:00
name: SQL Server ReportViewer - Exposure
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:
verified: "true"
google-query: inurl:"/Reports/Pages/Folder.aspx"
tags: misconfig,sql,report,exposure
http:
2023-04-20 20:09:49 +00:00
- raw:
- |
GET /Reports/Pages/Folder.aspx HTTP/1.1
Host: {{Hostname}}
2023-04-20 20:09:49 +00:00
- |
GET /ReportServer/Pages/Folder.aspx HTTP/1.1
Host: {{Hostname}}
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