-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2016.1249
                Moxa EDR-G903 Secure Router Vulnerabilities
                                18 May 2016

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Moxa EDR-G903
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Increased Privileges     -- Remote/Unauthenticated
                   Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Remote/Unauthenticated
                   Unauthorised Access      -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-0879 CVE-2016-0878 CVE-2016-0877
                   CVE-2016-0876 CVE-2016-0875 

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-16-042-01

- --------------------------BEGIN INCLUDED TEXT--------------------

Advisory (ICSA-16-042-01)

Moxa EDR-G903 Secure Router Vulnerabilities

Original release date: May 17, 2016

Legal Notice

All information products included in http://ics-cert.us-cert.gov are provided
"as is" for informational purposes only. The Department of Homeland Security
(DHS) does not provide any warranties of any kind regarding any information
contained within. DHS does not endorse any commercial product or service,
referenced in this product or otherwise. Further dissemination of this
product is governed by the Traffic Light Protocol (TLP) marking in the
header. For more information about TLP, see http://www.us-cert.gov/tlp/.

OVERVIEW

This advisory was originally posted to the US-CERT secure Portal library
on February 11, 2016, and is being released to the NCCIC/ICS-CERT web site.

Independent researcher Maxim Rupp has identified vulnerabilities in
Moxa's ECR-G903 secure routers. Moxa has produced a new firmware version
to mitigate these vulnerabilities.

These vulnerabilities could be exploited remotely.

AFFECTED PRODUCTS

The following Moxa Secure Routers are affected:

    EDR-G903 Versions V3.4.11 and older.

IMPACT

Successful exploitation of these vulnerabilities may allow a remote
attacker to escalate privileges, initiate a denial-of-service condition,
and execute arbitrary code.

Impact to individual organizations depends on many factors that are unique
to each organization. ICS-CERT recommends that organizations evaluate the
impact of these vulnerabilities based on their operational environment,
architecture, and product implementation.

BACKGROUND

Moxa is a Taiwan-based company that maintains offices in several countries
around the world, including the US, UK, India, Germany, France, China,
Russia, and Brazil.

The affected product, Moxa EDR-G903 series, is an industrial virtual private
network (VPN) server with firewall/NAT all-in-one secure router. It is
designed for Ethernet security applications in sensitive remote control
or monitoring networks, According to Moxa, these secure routers are
deployed across several sectors, including, Commercial Facilities, Critical
Manufacturing, Emergency Services, Energy, and others. Moxa estimates that
these products are used globally but concentrated in the US, Europe, Chile,
Argentina, Peru, Columbia, and Taiwan; 50 to 60 percent of all sales are
in the US.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

PRIVILEGE ESCALATION[a]

By accessing a specific uniform resource locator (URL) on the web server,
a malicious user is able to access configuration and log files.

CVE-2016-0875[b] has been assigned to this vulnerability. A CVSS
v3 base score of 7.5 has been assigned; the CVSS vector string is
(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).[c]

PLAINTEXT STORAGE OF A PASSWORD[d]

Configuration files contain passwords in plaintext.

CVE-2016-0876[e] has been assigned to this vulnerability. A CVSS
v3 base score of 7.5 has been assigned; the CVSS vector string is
(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).[f]

MEMORY LEAK[g]

Ping function is available to every user, which may cause a memory leak
in the affected device.

CVE-2016-0877[h] has been assigned to this vulnerability. A CVSS
v3 base score of 7.5 has been assigned; the CVSS vector string is
(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H).[i]

DENIAL OF SERVICE[j]

By sending malicious requests in the form of a ping twice, the device
independently produces "Cold start".

CVE-2016-0878[k] has been assigned to this vulnerability. A CVSS
v3 base score of 7.5 has been assigned; the CVSS vector string is
(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).[l]

UNAUTHENTICATED FILE DOWNLOAD[m]

After using the import function of configuration or log files they are
not deleted from server side, and any attacker is able to download them
"without authenticating" by accessing a specific URL.

CVE-2016-0879[n] has been assigned to this vulnerability. A CVSS
v3 base score of 7.5 has been assigned; the CVSS vector string is
(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H).[o]

VULNERABILITY DETAILS

EXPLOITABILITY

These vulnerabilities could be exploited remotely.

EXISTENCE OF EXPLOIT

No known public exploits specifically target these vulnerabilities.

DIFFICULTY

An attacker with a low skill would be able to exploit these vulnerabilities.

MITIGATION

Moxa has created firmware version v3.4.12, and it is available to users
upon request.

http://www.moxa.com/support/request_support.aspx

ICS-CERT recommends that users take defensive measures to minimize the
risk of exploitation of these vulnerabilities. Specifically, users should:

    Minimize network exposure for all control system devices and/or systems,
    and ensure that they are not accessible from the Internet.
    Locate control system networks and remote devices behind firewalls,
    and isolate them from the business network.
    When remote access is required, use secure methods, such as VPNs,
    recognizing that VPNs may have vulnerabilities and should be updated
    to the most current version available. Also recognize that VPN is only
    as secure as the connected devices.

ICS-CERT reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

Additional mitigation guidance and recommended practices are
publicly available in the ICS-CERT Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies, that is available for download from the ICS-CERT web site
(http://ics-cert.us-cert.gov/).

Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to ICS-CERT for
tracking and correlation against other incidents.

    a.
    CWE-284: Improper Access Control,
    http://cwe.mitre.org/data/definitions/284.html, web site last accessed
    May 17, 2016.
    b.
    NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0875,
    NIST uses this advisory to create the CVE web site report. This web
    site will be active sometime after publication of this advisory.
    c.
    CVSS Calculator,
    https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S...,
    web site last accessed May 17, 2016.
    d.
    CWE-256: Plaintext Storage of a Password,
    http://cwe.mitre.org/data/definitions/256.html, web site last accessed
    May 17, 2016.
    e.
    NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0876,
    NIST uses this advisory to create the CVE web site report. This web
    site will be active sometime after publication of this advisory.
    f.
    CVSS Calculator,
    https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S...,
    web site last accessed May 17, 2016.
    g.
    CWE-401: Improper Release of Memory Before Removing Last Reference
    ("Memory Leak"), http://cwe.mitre.org/data/definitions/401.html,
    web site last accessed May 17, 2016.
    h.
    NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0877,
    NIST uses this advisory to create the CVE web site report. This web
    site will be active sometime after publication of this advisory.
    i.
    CVSS Calculator,
    https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S...,
    web site last accessed May 17, 2016.
    j.
    CWE-400: Uncontrolled Resource Consumption ("Resource Exhaustion"),
    http://cwe.mitre.org/data/definitions/400.html, web site last accessed
    May 17, 2016.
    k.
    NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0878,
    NIST uses this advisory to create the CVE web site report. This web
    site will be active sometime after publication of this advisory.
    l.
    CVSS Calculator,
    https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S...,
    web site last accessed May 17, 2016.
    m.
    CWE-264: Permissions, Privileges, and Access Controls,
    http://cwe.mitre.org/data/definitions/264.html, web site last accessed
    May 17, 2016.
    n.
    NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0879,
    NIST uses this advisory to create the CVE web site report. This web
    site will be active sometime after publication of this advisory.
    o.
    CVSS Calculator,
    https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S...,
    web site last accessed May 17, 2016.


Contact Information

For any questions related to this report, please contact ICS-CERT at:

Email: ics-cert@hq.dhs.gov
Toll Free: 1-877-776-7585
International Callers: (208) 526-0900

For industrial control systems security information and incident reporting:
http://ics-cert.us-cert.gov

ICS-CERT continuously strives to improve its products and services. You
can help by choosing one of the links below to provide feedback about
this product.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBVzv6FX6ZAP0PgtI9AQJKEg//V/4kCcSAHIJcggHkM/jklpogJ5Y7SGXF
7nADXUzhUgFtHwyo0ex+Rfy6rC1jeQ9KQI7TH0CSMrZxFCAwG7+wUJNjt1wlLodw
wmzag5w473RoHl5tG/0f+iiI3u/bD/cr+t0VkzTlMQL4uitHWjmbpDXxMR0ZCxYT
Obm1/VgFaXbUFT0j/KHfESlEqoyR2jwIRva+hZOR//PULbnrgLAaAPWYPb1qcNgf
qDitF16QKkZt5e+l8LB3JFk+xXWvqexresdBUcfoXTU0Dn2IMHS/1nlAo4WcaqCp
y6QMAvs8jPvbUj1Cfj2gR2h8D0tabNsSW0knZb+5ZyOti/THNlGeqVy9FOPYo6Fe
WH7/xBkrxpM95S5Jg03qCHlm4kTbMa4/YRXEGq96EazWJdCMF1C4rizl7ERGfond
yPxb8isSn65p0/TwViQmyHdCqFiJrxRCFIFfHfs/hGjlNqavBA7cD0Ilex5zmx40
gMAox/nD5DNcI3ljzgIQKSqMz/0Wvi2NiW4lNGC0piNGOLwDPTEctIzBvVsQ32DR
zyh7KjZaEB+6OpmhE1HqqHkWdB4KBfFZeHM6b93OlsElOgqLT0F84x1V43CMbL3Z
p7HrJLUILvbOvQZaxClu9LSiWsYw+uEO4MaM5dQA96uSEK50XU0AKsy0koSrbL9E
ENncWrj+cPY=
=4XqW
-----END PGP SIGNATURE-----