Create geoserver-default-login.yaml (#3979)

* Create geoserver-default-login.yaml

* more strict matchers

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
林寒 2022-03-28 00:01:39 +08:00 committed by GitHub
parent edecd6e8fd
commit c7f7571742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: geoserver-default-login
info:
name: Geoserver Default Login
author: For3stCo1d
severity: high
metadata:
fofa-query: app="GeoServer"
tags: geoserver,default-login
requests:
- raw:
- |
POST /geoserver/j_spring_security_check HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{user}}&password={{pass}}
attack: pitchfork
payloads:
user:
- admin
pass:
- geoserver
matchers-condition: and
matchers:
- type: dsl
dsl:
- "contains(tolower(location), '/geoserver/web')"
- "!contains(tolower(location), 'error=true')"
condition: and
- type: status
status:
- 302