Cross-site Scripting (XSS) - Stored in falconchristmas/fpp
Reported on
Jun 27th 2021
✍️ Description
GET parameter &value=
in fppjson.php
is vulnerable to stored cross site scripting.
Analysis Trace:
- Application takes unvalidated user data in
&value=
from GET request of/fppjson.php?command=setSetting&plugin=&key=emailserver&value=ytes";</script><script>alert(1)
- Now visiting any application page such as
GET /backup.php
orGET /plugin.php
will pop up a stored XSS
POC: https://drive.google.com/file/d/10hjFTEAKAfBgXXhCcarngqlT2mAmc-x9/view?usp=sharing
🕵️♂️ 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&value=
parameter. - Now access any page such as:
/backup.php
and XSS will be pop up.
💥 Impact
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.