Twenty Year Anniversary

HPE System Management 7.6.0.11 Cross Site Scripting

HPE System Management 7.6.0.11 Cross Site Scripting
Posted Mar 1, 2018
Authored by Jacobo Avariento, Abelardo Suira

HPE System Management versions 7.6.0.11 and below suffer from a cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2017-12544
MD5 | e422c7d980bf2adb577f62cec6238d07

HPE System Management 7.6.0.11 Cross Site Scripting

Change Mirror Download
Product: HPE System Management Homepage
Versions: 7.6.0.11 and minor versions
Vulnerability: JavaScript Injection in file gsearch.php, parameter prod
OWASP TOP 10: A1 Injection
Type: Javascript Injection
Impact: Allows an attacker to perform an XSS (Cross-Site Scripting) attack, execute arbitrary JavaScript client-side, steal admin credentials, etc

Access Vector: Adjacent Networks
Access Complexity: Low
Authentication: None

CVE-2017-12544


Intro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The HP System Management Homepage (SMH) is a web-based interface that consolidates and simplifies the management of ProLiant and Integrity servers running Microsoft Windows or Linux, or HP 9000 and HP Integrity servers running HP-UX 11i. By aggregating data from HP Insight Management Agents and other tools, SMH provides a secure and intuitive interface to review in-depth hardware configuration and status data, performance metrics, system thresholds and software version control information.


The risk is high because this software is used in HP Windows and Linux servers. Actually there are many banking clients affected among other critical industries.

The attacker can trigger this vulnerability without authentication.

There is a JavaScript injection in file gsearch.php.en that affects form parameter prod sent over GET method, exactly in this line:

var prodName = '<?php echo $prodName; ?>';

That allows arbitrary javascript client-side execution and XSS attacks because quotes are not escaped, and an attacker is able to inject directly JavaScript code with optional embedded HTML entities that are executed and rendered in victim's browser.


Proof of concept
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

https://192.168.1.103:2381/gsearch.php.en?prod=%27%3beval%28alert%28%22uppps%22%29%29%3b%27


Fix
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

var prodName = '<?php echo htmlentities($prodName); ?>';


Credits
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Special thanks to Abelardo Suira for helping me to setup the environment and HPE for their support fixing the vulnerability.


Jacobo Avariento <spinfoo@protonmail.com>
ahttp://spinfoo.ninja

Sent with ProtonMail Secure Email.a

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

May 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close