## https://sploitus.com/exploit?id=BA479E58-398A-5504-BB17-B93CC1201D68
# π CVE-2023-22047 - PeopleSoft LFI Exploit
**Unauthenticated Local File Inclusion (LFI) in Oracle PeopleSoft Enterprise PeopleTools**
[](https://github.com/0xterror/CVE-2023-22047-PoC/stargazers)
[](https://github.com/0xterror/CVE-2023-22047-PoC/network/members)
[](LICENSE)
[](https://www.python.org/)
---
## π¨βπ» Author
### 0xTerror
**Security Researcher | Exploit Developer**
[](https://github.com/0xterror)
[](https://twitter.com/0xterror)
---
## π Description
CVE-2023-22047 is a critical **unauthenticated Local File Inclusion (LFI)** vulnerability discovered in **Oracle PeopleSoft Enterprise PeopleTools**. This exploit allows an attacker to read arbitrary files from the target server without any authentication, leading to potential exposure of sensitive data such as:
- π System configuration files
- π Database credentials
- π‘οΈ WebLogic admin credentials
- π Source code
- π Environment variables
- π Password hashes
---
## π What Makes It Vulnerable
### Root Cause Analysis
The vulnerability exists in the **Updates Environment Management** component of PeopleSoft Enterprise PeopleTools. The flaw is triggered by improper handling of the `wsrp-url` parameter in the `/RP` endpoint.
### Technical Breakdown
| Aspect | Details |
|--------|---------|
| **Component** | Updates Environment Management |
| **Endpoint** | `/RP` (Resource Provider) |
| **Parameter** | `wsrp-url` |
| **Attack Vector** | HTTP GET request |
| **Authentication** | β None required |
| **Vulnerability Type** | CWE-22: Path Traversal |
| **CVSS Score** | **9.8 (Critical)** |
### Attack Flow Diagram
```mermaid
graph LR
A[Attacker] -->|GET /RP?wsrp-url=file:///etc/passwd| B[PeopleSoft Server]
B -->|Reads /etc/passwd| C[File System]
C -->|Returns file content| B
B -->|Sends file content| A