what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

NetApp OnCommand System Manager 2.1 / 2.0.2 XSS / File Inclusion / Command Execution

NetApp OnCommand System Manager 2.1 / 2.0.2 XSS / File Inclusion / Command Execution
Posted May 7, 2013
Authored by M. Heinzl | Site sec-consult.com

NetApp onCommand System Manager versions 2.1 and below and 2.0.2 and below suffer from cross site scripting, file inclusion, and OS command execution vulnerabilities.

tags | exploit, vulnerability, xss, file inclusion
advisories | CVE-2013-3320, CVE-2013-3321, CVE-2013-3322
SHA-256 | c03a185c7bd69fd181b1a14ec856e4d335a0da6e6ea530fcfec62dc71fd11947

NetApp OnCommand System Manager 2.1 / 2.0.2 XSS / File Inclusion / Command Execution

Change Mirror Download
SEC Consult Vulnerability Lab Security Advisory < 20130507-0 >
=======================================================================
title: Multiple vulnerabilities
product: NetApp OnCommand System Manager
vulnerable version: <= 2.1 and <=2.0.2
fixed version: 2.2 (only XSS fixed)
CVE: CVE-2013-3320 (XSS)
CVE-2013-3321 (File inclusion)
CVE-2013-3322 (OS command execution)
impact: medium
homepage: http://www.netapp.com/
found: 2012-11-06
by: M. Heinzl
SEC Consult Vulnerability Lab
https://www.sec-consult.com/
=======================================================================


Vendor description:
-------------------

"You don't need to be a storage expert to manage NetApp storage systems.
Configuration and ongoing storage management are easy using the Web-based
OnCommand® System Manager. System Manager is the simple yet powerful
management solution for NetApp storage it'seasy for small to midsize
businesses to use and efficient for large enterprises and service providers."

Source:
http://www.netapp.com/us/products/management-software/system-manager.html


Vulnerability overview/description:
-----------------------------------

NetApp OnCommand System Manager suffers from multiple permanent and reflective
cross-site scripting vulnerabilities, a local file inclusion vulnerability as
well as an OS command execution vulnerability.

Malicious, authenticated users can exploit these flaws to change the contents
of the displayed site, redirect the user to other sites, steal user
credentials, execute system commands and read sensitive information.

The vendor will not fix the file inclusion and OS command execution issues,
as it is considered a design feature.



Proof of concepts:
-----------------

1) Multiple Reflective Cross-Site Scripting Vulnerabilities (internal bug
number 654355) - CVE-2013-3320

When configuring CIFS (Configuration > Protocols > CIFS > Configuration >
Setup), JavaScript can be inserted into the parameters <domain-name> and
<value>.

Request (domain-name):
POST /zapiServlet HTTP/1.1
Host: 127.0.0.1:1195

[...]

<netapp version="1.7" xmlns="http://www.netapp.com/filer/admin"><cifs-setup><auth-type>workgroup</auth-type><domain-name><img src=x onerror=alert(1) ></domain-name><security-style>multiprotocol</security-style><server-name>FILER</server-name></cifs-setup></netapp>


Furthermore, when creating new LUNs or editing already existing ones (Storage > LUNs >
(Create or Edit)), JavaScript can be inserted into the parameter <comment>.


2) Multiple permanent cross-site scripting vulnerabilities (internal bug
number 654355) - CVE-2013-3320

When creating new users or editing already existing ones (Configuration >
Local Users and Groups > Users > (Create or Edit)), JavaScript can be inserted
into the parameters <full-name> and <comment>.

Request (full-name):
POST /zapiServlet HTTP/1.1
Host: 127.0.0.1:1457

[...]

<netapp version="1.7" xmlns="http://www.netapp.com/filer/admin"><useradmin-user-modify><useradmin-user><useradmin-user-info><full-name>test<img src=x onerror=alert(1) ></full-name><comment>test</comment><name>test</name><password-maximum-age>4294967295</password-maximum-age><password-minimum-age>0</password-minimum-age><useradmin-groups><useradmin-group-info><name>Administrators</name></useradmin-group-info></useradmin-groups></useradmin-user-info></useradmin-user></useradmin-user-modify></netapp>


Furthermore, when creating new groups or editing already existing ones (Configuration >
Local Users and Groups > Groups > (Create or Edit)), JavaScript can be
inserted into the parameter <comment>.


When creating new shares or editing already existing ones (Storage > Shares >
(Create or Edit)), JavaScript can be inserted into the parameter <comment>.


3) Local File Inclusion (internal bug number 654357) - CVE-2013-3321 *
When retrieving log files through SnapMirror (Diagnostics > SnapMirror Log),
the path can be changed to read arbitrary files from the file system.


4) OS Command Execution (internal bug number 654360) - CVE-2013-3322 *

When using the Halt/Reboot interface (Configuration > System Tools > Halt/Reboot),
arbitrary OS commands can be injected.


* To exploit these issues, the attacker must be authenticated as root. The
vendor will not fix these issues, as it is considered a design feature. Hence
no proof of concept will be included within this advisory.


Vendor contact timeline:
------------------------
2012-11-06: Contacting vendor through security-input@netapp.com
2012-11-06: Initial vendor response
2012-11-07: Forwarding security advisory to vendor
2012-11-07: Vendor acknowledges that the advisory was received
2012-11-14: Asking vendor for a status update
2012-11-14: Vendor asks for more time to address the issues
2012-11-27: Asking vendor for a conference call to discuss further details
2012-11-28: Conference call scheduled for 12th of December
2012-12-12: Conference call
2012-12-17: Requested feedback from the vendor
2013-02-07: Requested again for feedback/status update on reported
vulnerabilities
2013-03-01: Requested again for feedback/status update on reported
vulnerabilities (Received automatic reply (OOTO))
2013-03-11: Contacted vendor once again, containing publication date of
security advisory (2013-04-11) since no response was received since
conference call
2013-04-08: Meeting with vendor
2013-04-24: Contacting vendor again with updated advisory
2013-04-25: Vendor replies
2013-05-01: Vendor notified us that version 2.2 was released on 24th April
2013-05-07: Coordinated public release of security advisory


Solution:
---------

Update to NetApp OnCommand System Manager 2.2 which fixes the stored and
reflective cross-site scripting vulnerabilities.


Be aware, that OS command execution and file inclusion vulnerabilities are not
fixed and may be exploited by authenticated attackers.


Advisory URL:
-------------

https://www.sec-consult.com/en/Vulnerability-Lab/Advisories.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SEC Consult Unternehmensberatung GmbH

Office Vienna
Mooslackengasse 17
A-1190 Vienna
Austria

Tel.: +43 / 1 / 890 30 43 - 0
Fax.: +43 / 1 / 890 30 43 - 25
Mail: research at sec-consult dot com
Web: https://www.sec-consult.com
Blog: http://blog.sec-consult.com
Twitter: https://twitter.com/sec_consult

EOF M. Heinzl / @2013


Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close