Bug 1197669

Summary: tcllib: Cross-Site-Scripting (XSS) in html::textarea
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kryzhev
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-01 09:06:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1197670    
Bug Blocks:    

Description Martin Prpič 2015-03-02 11:22:05 UTC
The following flaw was reported against tcllib:

User supplied input is directly inserted into the <textarea> as default value, e.g. a textarea named 'ta' with a parameter of ta=XXX results in `<textarea>XXX</textarea>`

This can be used to break out of the <textarea>-context and insert arbitrary HTML content such as <script>-Tags.

The attack is possible using HTTP GET requests as well as POST and multipart form encoded POST requests.

Upstream Issue:

http://core.tcl.tk/tcllib/tktview/09110adc430de8c91d26015f9697cdd099755e63

Upstream patch:

http://core.tcl.tk/tcllib/vpatch?from=45c988bdfc7b9b74&to=212d1feefe48dcc8

Comment 1 Martin Prpič 2015-03-02 11:22:23 UTC
Created tcllib tracking bugs for this issue:

Affects: fedora-all [bug 1197670]

Comment 2 Fedora Update System 2015-03-13 16:59:04 UTC
tcllib-1.16-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-03-14 09:14:32 UTC
tcllib-1.16-5.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.