exploit the possibilities

BMC Network Automation 8.7.00.000 Session Hijacking

BMC Network Automation 8.7.00.000 Session Hijacking
Posted Jan 7, 2019
Authored by Filip Palian

The BMC Network Automation allows authenticated users to hijack established remote sessions of other users, version v8.7.00.000 b383 u038 was confirmed to be vulnerable.

tags | exploit, remote
MD5 | c415e423f050fe4320c681efd6d296d5

BMC Network Automation 8.7.00.000 Session Hijacking

Change Mirror Download
Intro:
The BMC Network Automation allows authenticated users to hijack
established remote sessions of other users, version v8.7.00.000 b383
u038 was confirmed to be vulnerable.

Details:
Authenticated users of the BMC Network Automation web application with
assigned aviewera role are able to hijack SSH/Telnet sessions
initiated by other, privileged users.
In order to hijack an established session, the only requirement is to
obtain a valid "terminalJobKey" of that session.
A valid "terminalJobKey" can be obtained through enumeration of the
possible values.
This process is aided by the fact that the format of the
"terminalJobKey" is known and newly generated values are sequential
thus predictable.
The format of a "terminalJobKey" was found to be DDDDDDDDD-DDDDDD,
where "D" is a digit from 0-9 range.
The vulnerable application was found to increment the value of
"terminalJobKey" parameter by one (1) at the last position for each
newly initiated remote session.

Proof of Concept:
1. Privileged user initiates an SSH connection and a new terminal
window is opened with the following sample URL, e.g.:
https://host:9443//bca-networks/network/displayTerminalWindows.do?method=openTeraminal&terminalJobKey=9123465678-183094&deviceName=127.0.0.1

2. In the next step a non-privileged user enumerates "terminalJobKey"
values until he finds a valid one and is able to hijack the already
established session:
https://host:9443//bca-networks/network/displayTerminalWindows.do?method=openTeraminal&terminalJobKey=9123465678-183091&deviceName=127.0.0.1
https://host:9443//bca-networks/network/displayTerminalWindows.do?method=openTeraminal&terminalJobKey=9123465678-183092&deviceName=127.0.0.1
https://host:9443//bca-networks/network/displayTerminalWindows.do?method=openTeraminal&terminalJobKey=9123465678-183093&deviceName=127.0.0.1
https://host:9443//bca-networks/network/displayTerminalWindows.do?method=openTeraminal&terminalJobKey=9123465678-183094&deviceName=127.0.0.1

Remediation:
Contact vendor directly for remediation guidance.

Timeline:
07.11.2018: Email detailing discovered issue sent to BMC at appsec@bmc.com.
08.11.2018: BMC confirms receipt of the report.
21.11.2018: Follow-up email sent to BMC asking for status.
10.12.2018: Follow-up email sent to BMC informing that the security
advisory will be published in the next following weeks.
02.01.2019: The advisory has been released.


Cheers,
Filip Palian


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

January 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close