Cross-site Scripting (XSS) - Stored in falconchristmas/fpp
Jun 27th 2021
fppjson.php is vulnerable to stored cross site scripting.
- Application takes unvalidated user data in
&value=from GET request of
- Now visiting any application page such as
GET /plugin.phpwill pop up a stored XSS
🕵️♂️ Proof of Concept
- Make a GET Request of
/fppjson.php?command=setSetting&plugin=&key=emailserver&value=ytes";</script><script>alert(1)which will save our XSS payload using
- Now access any page such as:
/backup.phpand XSS will be pop up.
The attacker can:
Perform any action within the application that the user can perform. View any information that the user is able to view. Modify any information that the user is able to modify. Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.