Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Procuct: Emoncms 9 Vunlerable Version: 9 and probably prior Tested Version: 9 Author: ADLab of Venustech
Advisory Details: I have discovered multiple Cross-Site Scripting (XSS) in Emoncms 9, which can be exploited to execute arbitrary code. The vulnerability exists due to insufficientfiltration of user-supplied data in multiple HTTP GET parameters passed to "emoncms-master/Modules/vis/visualisations/compare.php" url. An attacker could execute arbitrary HTML and script code in browser in context of the vulnerable website. The exploitation examples below uses the "alert()" JavaScript function to see a pop-up messagebox: (1) http://localhost/teststh/emoncms-master/emoncms-master/Modules/vis/visualisations/compare.php?feedA=%22%22;%3C/script%3E%3Cscript%3Ealert(1);%3C/script%3E%3Cscript%3E (2) http://localhost/teststh/emoncms-master/emoncms-master/Modules/vis/visualisations/compare.php?feedB=%22%22;%3C/script%3E%3Cscript%3Ealert(1);%3C/script%3E%3Cscript%3E
The text was updated successfully, but these errors were encountered:
Update compare.php
63b32ed
Fix for: #636
Thankyou for highlighting this. I have added amended to: $feedA = (int) $_GET['feedA']; In commit 63b32ed
Sorry, something went wrong.
No branches or pull requests
Procuct: Emoncms 9
Vunlerable Version: 9 and probably prior
Tested Version: 9
Author: ADLab of Venustech
Advisory Details:
I have discovered multiple Cross-Site Scripting (XSS) in Emoncms 9, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficientfiltration of user-supplied data in multiple HTTP GET parameters passed to "emoncms-master/Modules/vis/visualisations/compare.php" url. An attacker could execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation examples below uses the "alert()" JavaScript function to see a pop-up messagebox:
(1)
http://localhost/teststh/emoncms-master/emoncms-master/Modules/vis/visualisations/compare.php?feedA=%22%22;%3C/script%3E%3Cscript%3Ealert(1);%3C/script%3E%3Cscript%3E
(2)
http://localhost/teststh/emoncms-master/emoncms-master/Modules/vis/visualisations/compare.php?feedB=%22%22;%3C/script%3E%3Cscript%3Ealert(1);%3C/script%3E%3Cscript%3E
The text was updated successfully, but these errors were encountered: