Bug 1039938

Summary: ikiwiki: osm plugin does not correctly sanitize parameters
Product: [Other] Security Response Reporter: Ratul Gupta <ratulg>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: thomas.moschny
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20131209,reported=20131210,source=debian,cvss2=5.8/AV:N/AC:M/Au:N/C:P/I:P/A:N,fedora-all/ikiwiki=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-07 09:44:54 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1039939    
Bug Blocks:    

Description Ratul Gupta 2013-12-10 06:27:35 EST
It was found that the osm plugin for ikiwiki uses htmlscrubber (if enabled) to sanitize some parameters. Even when it is enabled, it was found that it still does not correctly escape some fields. In particular, the "name" parameter is included verbatim, breaking involuntarily javascript when the name contains a single quote/apostrophe ('). Due to this, javascript code injection might become trivial.

Comment 1 Ratul Gupta 2013-12-10 06:28:22 EST
Created ikiwiki tracking bugs for this issue:

Affects: fedora-all [bug 1039939]
Comment 3 Fedora Update System 2014-02-08 22:52:20 EST
ikiwiki-3.20140125-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Fedora Update System 2014-02-08 22:55:42 EST
ikiwiki-3.20140125-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Thomas Moschny 2014-04-19 03:31:19 EDT
Can we close this ticket?