Bug 783584 (CVE-2012-0790)

Summary: CVE-2012-0790 smokeping: XSS flaw
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: terje.rosten
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: 2013-07-22 20:16:15 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: 783585    
Bug Blocks:    
Attachments:
Description Flags
patch to correct the flaw none

Description Vincent Danen 2012-01-20 22:31:44 UTC
A flaw was reported [1] in smokeping 2.6 (and most likely earlier versions) which malicious remote users could abuse to conduct cross-site scripting attacks.. Input passed to the "displaymode" parameter in the smokeping CGI script is not properly sanitized before being returned to the user, which can be used to execute arbitrary HTML and script code in a user's browser session in the context of an affected site.

Smokeping 2.6.7 has been released to correct this flaw.

[1] http://holisticinfosec.org/content/view/188/45/

Comment 1 Vincent Danen 2012-01-20 22:34:18 UTC
Created smokeping tracking bugs for this issue

Affects: fedora-all [bug 783585]

Comment 2 Vincent Danen 2012-01-20 22:36:13 UTC
Created attachment 556619 [details]
patch to correct the flaw

Derived from diffing 2.6.7 to 2.6.6; this looks like the relevant bits required to fix the flaw.

Comment 3 Vincent Danen 2012-01-21 04:44:26 UTC
This has been assigned CVE-2012-0790.

Comment 4 Fedora Update System 2012-01-31 21:56:12 UTC
smokeping-2.4.2-16.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-01-31 22:00:43 UTC
smokeping-2.4.2-13.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.