ESB-2018.0424 - [Win][UNIX/Linux] Apache JMeter: Execute arbitrary code/commands - Remote/unauthenticated 2018-02-12

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

                               ESB-2018.0424
      Multiple vulnerabilities have been identified in Apache JMeter
                             12 February 2018

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

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

Product:          Apache JMeter
Publisher:        The Apache Software Foundation
Operating System: Windows
                  UNIX variants (UNIX, Linux, OSX)
Impact/Access:    Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:       Patch/Upgrade

Comment: This bulletin contains two (2) The Apache Software Foundation 
         security advisories.

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

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected: JMeter 2.X, 3.X

Description [0]:

When using Distributed Test only (RMI based), jmeter uses an unsecured RMI
connection.
This could allow an attacker to get Access to JMeterEngine and send
unauthorized code.
This only affect tests running in Distributed mode.

Mitigation:
  * Users must use last version of Java 8 or Java 9
  * Users must upgrade to last JMeter 4.0 version and use the default /
enabled authenticated SSL RMI connection.

Besides, we remind users that in distributed mode, JMeter makes an
Architectural assumption
that it is operating on a 'safe' network. i.e. everyone with access to the
network is considered trusted.

This typically means a dedicated VPN or similar is being used.


Example:
  * Start JMeter server using either jmeter-server or jmeter -s
  * If JMeter listens on unsecure rmi connection (ie you can connect to it
using a JMeter client), you are vulnerable

Credit:
This issue was reported responsibly to the Apache Tomcat Security Team
by Brenden Meeder.

- - Philippe Mouawad

on behalf of the Apache JMeter PMC

[0] https://bz.apache.org/bugzilla/show_bug.cgi?id=62039

- ----------------------------------------------------------------------------------

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected: JMeter 2.X, 3.X

Description:

When using Distributed Test only (RMI based), jmeter server binds RMI
Registry to wildcard host.
This could allow an attacker to get Access to JMeterEngine and send
unauthorized code.
This only affect tests running in Distributed mode.

Mitigation:

  * Users must use last version of Java 8 or Java 9
  * Users must upgrade to last JMeter 4.0 version

Besides, we remind users that in distributed mode, JMeter makes an
Architectural assumption
that it is operating on a 'safe' network. i.e. everyone with access to the
network is considered trusted.

This typically means a dedicated VPN or similar is being used.

Example:

  * Start JMeter server using either jmeter-server or jmeter -s
  * If JMeter listens on *:1099, you are vulnerable

Credit:
This issue was reported responsibly to the Apache Tomcat Security Team
by Brenden Meeder.

- - Philippe Mouawad

on behalf of the Apache JMeter PMC

[0] https://bz.apache.org/bugzilla/show_bug.cgi?id=62039

- --------------------------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:

        https://www.auscert.org.au/bulletins/

===========================================================================
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

iQIVAwUBWoIx+Yx+lLeg9Ub1AQi4zA/9HYZzE7DAN792w+dRUWSAOdg3ZRBSnphI
SnY6VVyLrCZpLjD37b2PS1skUcbAD1NJfOMM7t0KcmIPHqHSBQZcJYCtgcV4BUNA
mIQuP2ljYuri53qrgbVs9Do1rpYkrnbhy6oY8/qoFjdLi6Y75qINdCR0kby9RBuT
7sCn9M1Z8V1Q2lxWqfXpgJLyfvdGS1jn5tbWM/pHx1OAYjkPKvIXtH8uOLcLy6PQ
kkifF4lwAAK9qGRYfMP/SJ+14TkQtBBA63WVc47NQXZ6yvQeq0Xfa9/PcFQAkHIU
9IOmWVv/LLV4Air2nTOjcni9XMouxnWQM2GwGwGAXx07jxLduoKSY/Aeyph8m7lu
lIRvSCCkJQjgy42u9vtconZ6bLk0D+3QXphHGDtkjAImbKj917IBch9CShCcT55p
tfGQEMYFE7UHvcXgpZnjs3sWhcdjtWMX/oEDN4ENjOdMDj8rw5Q/81YMn4SKBBMm
pFSiJXTzfimltmxwMR+vtgHLCErsfJPkQjhZVLQY5gQt3ApWtvtejv9Oi+i1EaiD
roWFT3GTRSIrEfUXvzBKreVkktfWdkr3O+M5/DrblCem8oGdAVhV07TgQ4mA5389
T6aJvKeFrrA/zfIdEP9nhMbGoPjdo+PL8JYRxsy/SZ6eXjn6IuAAU3iFpbqBi2b1
8NfUyWfaOlA=
=bWpl
-----END PGP SIGNATURE-----

« Back to bulletins