Description
Cross-site scripting (XSS) vulnerability in cpaint2.inc.php in the CPAINT library before 2.0.3, as used in multiple scripts, allows remote attackers to inject arbitrary web script or HTML via the cpaint_response_type parameter, which is displayed in a resulting error message, as demonstrated using a hex-encoded IFRAME tag.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- CPAINT 1.3/2.0.2 - 'TYPE.php' Cross-Site Scripting EDB-27173 · webapps · Feb 8, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 1015608 vdb-entry
- 20060210 CPAINT AJAX Library Cross Site Scripting mailing-list
- 18765 third-party-advisory
- cpaint-response-type-xss(24594) vdb-entry
- 16559 vdb-entry
- http://cpaint.booleansystems.com/forums/viewtopic.php?t=98
- http://www.gulftech.org/?node=research&article_id=00097-02092006
- ADV-2006-0487 vdb-entry