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.
|
2022-01-29 08:01:51 +00:00
|
|
|
tags: jsf,tech,primefaces,richfaces
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
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
|
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
|