Product:imdbphp
Download: https://github.com/tboothman/imdbphp
Vunlerable Version: v5.1.1 and probably prior
Tested Version: v5.1.1
Author: ADLab of Venustech
Advisory Details:
I have discovered a Cross-Site Scripting (XSS) in “imdbphp”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “name” HTTP GET parameter passed to the “imdbphp-master/demo/search.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc: http://localhost/github1/.../imdbphp-master/demo/search.php?name=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
The text was updated successfully, but these errors were encountered:
bestshow
changed the title
imdbphp (lastest version)- Cross-Site Scripting (XSS)
imdbphp V5.1.1 - Cross-Site Scripting (XSS)
Mar 2, 2017
That file are not part of the library, just included in the demo. Sure, it's not good to have XSS vulnerabilities in demo files either. The whole /demo/ need a update, there are some PHP error too.
Product:imdbphp
Download: https://github.com/tboothman/imdbphp
Vunlerable Version: v5.1.1 and probably prior
Tested Version: v5.1.1
Author: ADLab of Venustech
Advisory Details:
I have discovered a Cross-Site Scripting (XSS) in “imdbphp”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “name” HTTP GET parameter passed to the “imdbphp-master/demo/search.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
http://localhost/github1/.../imdbphp-master/demo/search.php?name=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
The text was updated successfully, but these errors were encountered: