Bug 1326598 - (CVE-2016-3113) CVE-2016-3113 ovirt-engine: Reflected XSS when submitting config file for VNC/SPICE Connection
CVE-2016-3113 ovirt-engine: Reflected XSS when submitting config file for VNC...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160413,repor...
: Security
Depends On: 1326599 1326600
Blocks: 1327166
  Show dependency treegraph
 
Reported: 2016-04-13 04:03 EDT by Adam Mariš
Modified: 2018-07-18 10:52 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2016-04-13 04:03:27 EDT
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

contenttype=application%2Fx-virt-viewer%3B+charset%3DUTF-8&content=[...configuration
file...]&encodingtype=plain

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 04:03:42 EDT
Acknowledgments:

Name: Dennis Felsch (Ruhr-University Bochum), Emanuel Durmaz (Ruhr-University Bochum)
Comment 2 Adam Mariš 2016-04-13 04:04:27 EDT
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.