Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bugsdisclose/xss
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 lines (13 sloc)
704 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Exploit Title: Simple Food Website 1.0 : Stored XSS | |
| Date: 26-04-2022 | |
| Exploit Author: Saket Saurav | |
| Vendor Homepage: | |
| https://www.sourcecodester.com/php/12510/simple-food-website-php.html | |
| Software Link: https://www.sourcecodester.com/php/12510/simple-food-website-php.html | |
| Version: 1.0 | |
| Tested on: Kali Linux 2020 | |
| Affected Endpoint: http://127.0.0.1:1234/food/admin/all_users.php | |
| Steps to reproduce the stored XSS. | |
| 1. Login as Low Privileged user (Moderator) on : | |
| 2.Then a Moderator needs to enter XSS Payload: <script>alert(document.cookie)</> in Full User Name field. | |
| This causes stored xss on the web portal.It can be then used as for privilege escalation from moderator to Admin via cookie stealing |