Bug 1326598 (CVE-2016-3113) - CVE-2016-3113 ovirt-engine: Reflected XSS when submitting config file for VNC/SPICE Connection
Summary: CVE-2016-3113 ovirt-engine: Reflected XSS when submitting config file for VNC...
Alias: CVE-2016-3113
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1326599 1326600
Blocks: Embargoed1327166
TreeView+ depends on / blocked
Reported: 2016-04-13 08:03 UTC by Adam Mariš
Modified: 2021-02-17 04:04 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2019-06-08 02:50:39 UTC

Attachments (Terms of Use)

Description Adam Mariš 2016-04-13 08:03:27 UTC
An XSS vulnerability was found in ovirt-engine when submitting configuration file used to build up the VNC/SPICE-Connection. The file is automatically generated without any user input on the client side and uploaded to the server, which immediately reflects that upload. Legitimate HTTP Request looks aas following:

POST /ovirt-engine/services/attachment/console.vv


Web application accepts the POST-Parameter contenttype, that sets the Content-Type of the HTTP-Response of the reflected upload. When setting the contenttype to text/html, it allows to inject malicious JavaScript code to be reflected on the page. The attacker could send RPC-Requests via XHR with the privileges of the victim. If the victim is logged in, the attacker can inject a JavaScript code that sends a RPC-Request to start, stop or manipulate a specific VM.

Comment 1 Adam Mariš 2016-04-13 08:03:42 UTC

Name: Dennis Felsch (Ruhr-University Bochum), Emanuel Durmaz (Ruhr-University Bochum)

Comment 2 Adam Mariš 2016-04-13 08:04:27 UTC
Created ovirt-engine-sdk-java tracking bugs for this issue:

Affects: fedora-all [bug 1326599]
Affects: epel-all [bug 1326600]

Note You need to log in before you can comment on or make changes to this bug.