CVE-2017-4928 - Cross-Site Request Forgery (CSRF)

Severity

50%

Complexity

99%

Confidentiality

48%

The flash-based vSphere Web Client (6.0 prior to 6.0 U3c and 5.5 prior to 5.5 U3f) i.e. not the new HTML5-based vSphere Client, contains SSRF and CRLF injection issues due to improper neutralization of URLs. An attacker may exploit these issues by sending a POST request with modified headers towards internal services leading to information disclosure.

The flash-based vSphere Web Client (6.0 prior to 6.0 U3c and 5.5 prior to 5.5 U3f) i.e. not the new HTML5-based vSphere Client, contains SSRF and CRLF injection issues due to improper neutralization of URLs. An attacker may exploit these issues by sending a POST request with modified headers towards internal services leading to information disclosure.

CVSS 3.0 Base Score 7.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

CVSS 2.0 Base Score 5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N).

Demo Examples

Cross-Site Request Forgery (CSRF)

CWE-352

This example PHP code attempts to secure the form submission process by validating that the user submitting the form has a valid session. A CSRF attack would not be prevented by this countermeasure because the attacker forges a request through the user's web browser in which a valid session already exists.

The following HTML is intended to allow a user to update a profile.


               
</form>

profile.php contains the following code.


               
}//if the session is registered to a valid user then allow update
exit;// Redirect user to login page
// The user session is valid, so process the request// and update the information
echo "Your profile has been successfully updated.";// read in the data from $POST and send an update// to the database

This code may look protected since it checks for a valid session. However, CSRF attacks can be staged from virtually any tag or HTML construct, including image tags, links, embed or object tags, or other attributes that load background images.

The attacker can then host code that will silently change the username and email address of any user that visits the page while remaining logged in to the target web application. The code might be an innocent-looking web page such as:


               
</form>
form.submit();// send to profile.php

Notice how the form contains hidden fields, so when it is loaded into the browser, the user will not notice it. Because SendAttack() is defined in the body's onload attribute, it will be automatically called when the victim loads the web page.

Assuming that the user is already logged in to victim.example.com, profile.php will see that a valid user session has been established, then update the email address to the attacker's own address. At this stage, the user's identity has been compromised, and messages sent through this profile could be sent to the attacker's address.

Overview

Type

VMware vCenter Server

First reported 7 years ago

2017-11-17 14:29:00

Last updated 6 years ago

2018-10-30 16:27:00

Affected Software

VMware vCenter Server 5.5

5.5

VMware vCenter Server 5.5 Update 1

5.5

VMware vCenter Server 5.5 Update 1a

5.5

VMware vCenter Server 5.5 Update 1b

5.5

VMware vCenter Server 5.5 Update 1c

5.5

VMware vCenter Server 5.5 Update 2

5.5

VMware vCenter Server 5.5 Update 2b

5.5

VMware vCenter Server 5.5 Update 2d

5.5

VMware vCenter Server 5.5 Update 2e

5.5

VMware vCenter Server 5.5 Update 3

5.5

VMware vCenter Server 5.5 Update 3a

5.5

VMware vCenter Server 5.5 Update 3b

5.5

VMware vCenter Server 5.5 Update 3d

5.5

VMware vCenter Server 5.5 Update 3e

5.5

VMware vCenter Server 5.5 Update B

5.5

VMware vCenter Server 5.5 Update C

5.5

VMware vCenter Server 6.0

6.0

VMware vCenter Server 6.0 Update 1

6.0

VMware vCenter Server 6.0 Update 1b

6.0

VMware vCenter Server 6.0 2

6.0

VMware vCenter Server 6.0 Update 2a

6.0

VMware vCenter Server 6.0 2m

6.0

VMware vCenter Server 6.0 Update 3

6.0

VMware vCenter Server 6.0 Update 3a

6.0

VMware vCenter Server 6.0 Update 3b

6.0

VMware vCenter Server 6.0 A

6.0

VMware vCenter Server 6.0 B

6.0

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.