2021-03-14 18:57:59 +00:00
|
|
|
id: openam-detection
|
|
|
|
|
|
|
|
info:
|
2021-07-07 06:35:01 +00:00
|
|
|
name: Detect OpenAM and OpenSSO
|
2021-07-23 17:16:55 +00:00
|
|
|
author: philippedelteil
|
2021-03-14 18:57:59 +00:00
|
|
|
severity: info
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-07-07 06:35:01 +00:00
|
|
|
- "{{BaseURL}}/openam/XUI"
|
|
|
|
- "{{BaseURL}}/XUI"
|
|
|
|
- "{{BaseURL}}/XUI/#login"
|
|
|
|
- "{{BaseURL}}/UI"
|
|
|
|
- "{{BaseURL}}/sso/XUI"
|
|
|
|
- "{{BaseURL}}/sso/UI"
|
|
|
|
- "{{BaseURL}}/sso/UI/#login"
|
|
|
|
- "{{BaseURL}}/openam/UI/login"
|
|
|
|
- "{{BaseURL}}/openam/UI/#loginlogin"
|
|
|
|
- "{{BaseURL}}/openam/UI/Login"
|
|
|
|
- "{{BaseURL}}/openam/XUI/Login"
|
|
|
|
- "{{BaseURL}}/openam/XUI/login"
|
|
|
|
- "{{BaseURL}}/openam/XUI/#login"
|
|
|
|
- "{{BaseURL}}/am/UI/Login"
|
|
|
|
- "{{BaseURL}}/am/UI/#login"
|
|
|
|
- "{{BaseURL}}/am/XUI/"
|
|
|
|
- "{{BaseURL}}/am/XUI/Login"
|
|
|
|
- "{{BaseURL}}/am/json/serverinfo/*"
|
|
|
|
- "{{BaseURL}}/openam/json/serverinfo/*"
|
2021-07-09 20:06:54 +00:00
|
|
|
|
2021-07-07 06:35:01 +00:00
|
|
|
redirects: true
|
|
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
2021-03-14 18:57:59 +00:00
|
|
|
matchers:
|
2021-07-07 06:35:01 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'urlArgs : "v='
|
|
|
|
- 'Sign in to OpenAM'
|
|
|
|
- 'ForgeRock'
|
|
|
|
- 'forgerock'
|
|
|
|
- 'FRForgotUsername'
|
|
|
|
- 'successfulUserRegistrationDestination'
|
|
|
|
condition: or
|
2021-07-09 20:06:54 +00:00
|
|
|
|
2021-07-07 06:35:01 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-07-09 20:06:54 +00:00
|
|
|
|
2021-07-07 06:35:01 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'urlArgs : "v=([0-9.abcd]+)'
|