2021-05-28 04:17:29 +00:00
|
|
|
id: jsf-detection
|
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.
|
2022-01-29 08:01:51 +00:00
|
|
|
tags: jsf,tech,primefaces,richfaces
|
2021-05-27 08:17:14 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|
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
|