2022-11-13 08:12:00 +00:00
|
|
|
id: jsf-detect
|
2021-05-27 08:17:14 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: JavaServer Faces Detection
|
2022-01-29 08:01:51 +00:00
|
|
|
author: brenocss,Moritz Nentwig
|
2021-05-28 04:17:29 +00:00
|
|
|
severity: info
|
2021-05-27 08:17:14 +00:00
|
|
|
description: Searches for JavaServer Faces content on a URL.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: jsf,tech,primefaces,richfaces
|
2021-05-27 08:17:14 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-27 08:17:14 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2022-01-31 11:43:36 +00:00
|
|
|
max-redirects: 3
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-01-29 05:01:15 +00:00
|
|
|
matchers-condition: or
|
2021-05-27 08:17:14 +00:00
|
|
|
matchers:
|
2022-01-29 05:01:15 +00:00
|
|
|
- type: dsl
|
|
|
|
name: javafaces
|
|
|
|
dsl:
|
2022-01-29 08:01:51 +00:00
|
|
|
- "(contains(body, 'javax.faces.resource') || contains(body, 'javax.faces.ViewState'))"
|
2022-01-29 05:01:15 +00:00
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
name: primefaces
|
|
|
|
dsl:
|
2022-01-29 08:01:51 +00:00
|
|
|
- "contains(body, 'primefaces')"
|
|
|
|
- "contains(body, 'javax.faces.resource') || contains(body, 'javax.faces.ViewState')"
|
2022-01-29 05:01:15 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
name: richfaces
|
|
|
|
dsl:
|
2022-01-29 08:01:51 +00:00
|
|
|
- "contains(body, 'richfaces')"
|
|
|
|
- "contains(body, 'javax.faces.resource') || contains(body, 'javax.faces.ViewState')"
|
2022-01-29 05:01:15 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c6c79025ccefbeb0f29e2930e1c0a9749cf789bfbb4005be7a5bb75918c3b04d022100d78229cfd91929b427b693c2268af9f8057266d8aa94f5821e40f910d3ee9a17:922c64590222798bb761d5b6d8e72950
|