18 lines
No EOL
1 KiB
Text
18 lines
No EOL
1 KiB
Text
# Exploit Title: House Rental and Property Listing 1.0 - Multiple Stored XSS
|
|
# Tested on: Windows 10
|
|
# Exploit Author: Mohamed habib Smidi (Craniums)
|
|
# Date: 2020-12-28
|
|
# Google Dork: N/A
|
|
# Vendor Homepage: https://www.sourcecodester.com/php/14649/house-rental-and-property-listing-php-full-source-code.html
|
|
# Software Link: https://www.sourcecodester.com/download-code?nid=14649&title=House+Rental+and+Property+Listing+in+PHP+with+Full+Source+Code
|
|
# Affected Version: Version 1
|
|
# Patched Version: Unpatched
|
|
# Category: Web Application
|
|
# CVE: CVE-2021-25790
|
|
|
|
Step 1: Create a new user then login
|
|
Step 2: Click on "Register" page to register a room.
|
|
Step 3: input "<script>alert("Full name")</script>" in all fields each one with the field name except phone number, alternate number.
|
|
Note: for the email address you can inspect elements and change the type from email to text.
|
|
Step 4: Once all fields are completed, Click on Submit
|
|
Step 5: From the home page click on Details/Update, This will trigger all Stored XSS payloads one after the other. |