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

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

                               ESB-2021.2342
         HPESBNW04181 rev.1 - HPE Aruba ClearPass Policy Manager,
                         Multiple Vulnerabilities
                                9 July 2021

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

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

Product:           HPE Aruba ClearPass Policy Manager
Publisher:         Hewlett-Packard
Operating System:  Network Appliance
                   Virtualisation
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Increased Privileges            -- Existing Account
                   Access Confidential Data        -- Existing Account
                   Unauthorised Access             -- Existing Account
                   Reduced Security                -- Existing Account
Resolution:        Patch/Upgrade

Original Bulletin: 
   http://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay/?docId=hpesbnw04181en_us

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

SECURITY BULLETIN

HPESBNW04181 rev.1 - HPE Aruba ClearPass Policy Manager, Multiple Vulnerabilities

NOTICE: 
The information in this Security Bulletin should be acted upon as soon as possible.

Potential Security Impact: 
  Local:  Escalation of Privilege; 
  Remote: Arbitrary Command Execution, Authentication Bypass, 
          Denial of Service (DoS), SQL Injection, Insecure Deserialization

Source: Hewlett Packard Enterprise, HPE Product Security Response Team

VULNERABILITY SUMMARY
Title: ClearPass Policy Manager Multiple Vulnerabilities

NOTE: Information originally published in ARUBA-PSA-2021-012  Non-HPE site

Aruba Product Security Advisory

Advisory ID: ARUBA-PSA-2021-012
CVE: CVE-2020-14386, CVE-2021-3156,  CVE-2021-29150, CVE-2021-29151, 
CVE-2021-29152, CVE-2021-34609, CVE-2021-34610, CVE-2021-34611, 
CVE-2021-34612, CVE-2021-34613, CVE-2021-34614, CVE-2021-34615,
CVE-2021-34616

Publication Date: 2021-Jul-02

Status: Confirmed
Severity: High
Revision: 2

Overview

Aruba has released updates to ClearPass Policy Manager that address multiple 
security vulnerabilities.

Affected Products
These vulnerabilities affect ClearPass running the following patch versions 
unless specifically noted otherwise in the details section:

ClearPass 6.9.x prior to 6.9.6
ClearPass 6.8.x prior to 6.8.9
ClearPass 6.7.x all versions
ClearPass 6.6.x all versions

Details

Authenticated SQL Injection Vulnerability in ClearPass Web-based Management 
Interface (CVE-2021-34609)

A vulnerability in the web-based management interface API of
ClearPass could allow an authenticated remote attacker to
conduct SQL injection attacks against the ClearPass instance.
An attacker could exploit this vulnerability to obtain and
modify sensitive information in the underlying database
potentially leading to an escalation of privileges.

Internal references: ATLCP-82
Severity: High
CVSSv3 Overall Score: 8.8
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Discovery: This vulnerability was discovered and reported by 
Erik De Jong (bugcrowd.com/erikdejong) via Aruba's Bug Bounty 
Program

Sudo Privilege Escalation Vulnerability aka "Baron Samedit" (CVE-2021-3156)

A vulnerability in the command line parameter parsing code of
Sudo could allow an attacker with access to Sudo to execute
commands or binaries with root privileges. ClearPass does not
allow access to local shell commands during normal operation
and so the main impact of this vulnerability would be as
part of a "chained attack" where an attacker has achieved a
foothold with lower privileges via another vulnerability and
then uses this to escalate privileges.

Internal references: ATLCP-131
Severity: High
CVSSv3 Overall Score: 7.8
CVSS Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Discovery: This vulnerability was discovered and published by
the Qualys Research Team.

Local Privilege Escalation Vulnerability in ClearPass Linux Kernel (CVE-2020-14386)

A vulnerability in the linux kernel of ClearPass could
allow an attacker to gain root privileges from unprivileged
processes. ClearPass does not allow access to local shell
commands during normal operation and so the main impact of
this vulnerability would be as part of a "chained attack"
where an attacker has achieved a foothold with lower
privileges via another vulnerability and then uses this to
escalate privileges.

Internal references: ATLCP-126
Severity: High
CVSSv3 Overall Score: 7.8
CVSS Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Discovery: This vulnerability was discovered and published by
Or Cohen of Palo Alto Networks.

Deserialization Vulnerability in ClearPass Web-based Management Interface (CVE-2021-29150)

A vulnerability in a deserialization function used by the
ClearPass web-based management interface could allow remote
authenticated users to execute arbitrary commands on the
underlying host. A successful exploit allows an attacker to
execute commands as root on the underlying operating system
leading to complete system compromise.

Internal references: ATLCP-118
Severity: High
CVSSv3 Overall Score: 7.2
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Discovery: This vulnerability was discovered and reported by
Daniel Jensen (@dozernz) via Aruba's Bug Bounty Program

Authenticated Remote Command Injection in ClearPass Web-Based Management 
Interface Leading to Full System Compromise (CVE-2021-34610, CVE-2021-34611)

Vulnerabilities in the ClearPass web-based management
interface allow remote authenticated users to run arbitrary
commands on the underlying host. A successful exploit could
allow an attacker to execute arbitrary commands as root on
the underlying operating system leading to complete system
compromise.

Internal references: ATLCP-78, ATLCP-128
Severity: High
CVSSv3 Overall Score: 7.2
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Discovery: These vulnerabilities were discovered and
reported by Daniel Jensen (@dozernz) and Erik De Jong
(bugcrowd.com/erikdejong) via Aruba's Bug Bounty Program.

Authentication Bypass in ClearPass Web-based Management Interface (CVE-2021-29151)

A vulnerability exists which allows an unauthenticated
attacker to access some unintended functions on the ClearPass
web-based management interface. Successful exploitation
allows an attacker to gain access to some data that should
require authorization. This does not expose the system to
compromise or leak sensitive information from the ClearPass
instance.

Internal references: ATLCP-133
Severity: Medium
CVSSv3 Overall Score: 5.3
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Discovery: This vulnerability was discovered and reported by
the Bell Canada security team.

Authenticated Denial of Service Vulnerability in ClearPass Web-based Management
Interface (CVE-2021-29152)

A vulnerability in the web-based management interface of
ClearPass could allow an authenticated remote attacker to
conduct a denial of service attack against the system. A
successful exploit could allow an attacker to deny access to
the underlying database and prevent normal system operation.

Internal references: ATLCP-110
Severity: Medium
CVSSv3 Overall Score: 4.9
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Discovery: This vulnerability was discovered and reported by
Erik De Jong (bugcrowd.com/erikdejong).

Authenticated Remote Command Injection in ClearPass CLI (CVE-2021-34612)

A vulnerability in the ClearPass CLI could allow remote
authenticated users to run arbitrary commands on the
underlying host. A successful exploit could allow an attacker
to execute arbitrary commands as a low privileged user on
the underlying operating system leading to partial system
compromise.

Internal references: ATLCP-100
Severity: Medium
CVSSv3 Overall Score: 4.7
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

Discovery: This vulnerability was discovered and reported
by damif512 (bugcrowd.com/damif512) via Aruba's Bug Bounty
Program

Authenticated Remote Command Injection in ClearPass Web-Based Management 
Interface Leading to Partial System Compromise (CVE-2021-34613, CVE-2021-34614,
CVE-2021-34615, CVE-2021-34616)

Vulnerabilities in the ClearPass web-based management
interface allows remote authenticated users to run arbitrary
commands on the underlying host. A successful exploit could
allow an attacker to execute arbitrary commands as a low
privileged user on the underlying operating system leading to
partial system compromise.

Internal references: ATLCP-102, ATLCP-106, ATLCP-114
                     ATLCP-115
Severity: Medium
CVSSv3 Overall Score: 4.7
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

Discovery: These vulnerabilities were discovered and reported
by Daniel Jensen (@dozernz) via Aruba's Bug Bounty Program.
Workaround

To minimize the likelihood of an attacker exploiting some of these vulnerabilities,
Aruba recommends that the CLI and web-based management interfaces for ClearPass be
restricted to a dedicated layer 2 segment/VLAN and/or controlled by firewall 
policies at layer 3 and above.

ClearPass Security Hardening

For general information on hardening ClearPass instances against security threats 
please see the ClearPass Hardening Guide available at 
https://support.hpe.com/hpesc/public/docDisplay?docId=a00091066en_us

Exploitation and Public Discussion

Aruba is not aware of any public discussion or exploit code that target these 
specific vulnerabilities.

References:
CVE-2021-34609 - Remote SQL injection
CVE-2021-3156 - Local escalation of privilege
CVE-2020-14386 - Local escalation of privilege
CVE-2021-29150 - Remote insecure deserialization
CVE-2021-34610 - Remote arbitrary command execution
CVE-2021-34611 - Remote arbitrary command execution
CVE-2021-29151 - Remote authentication bypass
CVE-2021-29152 - Remote denial of service (DOS)
CVE-2021-34612 - Remote arbitrary command execution
CVE-2021-34613 - Remote arbitrary command execution
CVE-2021-34614 - Remote arbitrary command execution
CVE-2021-34615 - Remote arbitrary command execution
CVE-2021-34616 - Remote arbitrary command execution
SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
Aruba ClearPass Policy Manager - Prior to 6.10.0, 6.9.6 and 6.8.9

BACKGROUND
HPE calculates CVSS using CVSS Version 3.1. If the score is provided from NIST,
we will display Version 2.0, 3.0, or 3.1 as provided from NVD.

Reference
V3 Vector, V3 Base Score, V2 Vector, V2 Base Score

CVE-2020-14386 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) 7.8 (AV:L/AC:L/Au:N/C:C/I:C/A:C) 7.2
CVE-2021-29150 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 7.2 (AV:N/AC:L/Au:M/C:C/I:C/A:C) 8.3
CVE-2021-29151 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 5.3 (AV:N/AC:L/Au:N/C:P/I:N/A:N) 5.0
CVE-2021-29152 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H 4.9 (AV:N/AC:L/Au:M/C:N/I:N/A:C) 6.1
CVE-2021-3156 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) 7.8 (AV:L/AC:L/Au:N/C:C/I:C/A:C) 7.2
CVE-2021-34609 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 8.8 (AV:N/AC:L/Au:S/C:C/I:C/A:C) 9.0
CVE-2021-34610 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 7.2 (AV:N/AC:L/Au:M/C:C/I:C/A:C) 8.3
CVE-2021-34611 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 7.2 (AV:N/AC:L/Au:M/C:C/I:C/A:C) 8.3
CVE-2021-34612 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L 4.7 (AV:N/AC:L/Au:M/C:P/I:P/A:P) 5.8
CVE-2021-34613 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L 4.7 (AV:N/AC:L/Au:M/C:P/I:P/A:P) 5.8
CVE-2021-34614 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L 4.7 (AV:N/AC:L/Au:M/C:P/I:P/A:P) 5.8
CVE-2021-34615 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L 4.7 (AV:N/AC:L/Au:M/C:P/I:P/A:P) 5.8
CVE-2021-34616 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L 4.7 (AV:N/AC:L/Au:M/C:P/I:P/A:P) 5.8

Information on CVSS is documented in HPE Customer Notice: HPSN-2008-002
CVE-2020-14386 was discovered and published by Or Cohen of Palo Alto Networks

CVE-2021-3156 was discovered and published by the Qualys Research Team

CVE-2021-29150, CVE-2021-34610, CVE-2021-34613, CVE-2021-34614, CVE-2021-34614 
and CVE-2021-34615 were discovered and reported by Daniel Jensen (@dozernz) via 
Aruba's Bug Bounty Program

CVE-2021-29151 was discovered and reported to Aruba by the Bell Canada security team

CVE-2021-29152, CVE-2021-34609 and CVE-2021-34611 were discovered and reported by
Erik De Jong (bugcrowd.com/erikdejong) via Aruba's Bug Bounty Program

CVE-2021-34612 was discovered and reported by damif512 (bugcrowd.com/damif512) via
Aruba's Bug Bounty Program

RESOLUTION
The vulnerabilities contained in this bulletin can be addressed by patching or 
upgrading to one of the ClearPass versions listed below

ClearPass 6.10.x: 6.10 and above
ClearPass 6.9.x: 6.9.6 and above
ClearPass 6.8.x: 6.8.9 and above

Please visit the Aruba Support Portal  Non-HPE site to obtain updates for your 
products.

HISTORY
Version:1 (rev.1) - 6 July 2021 Initial release

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

iQIVAwUBYOeWF+NLKJtyKPYoAQiqhQ//TZFVPHk05RFbQfLuwhwG0+05mpRHMOxP
JvcsM58r58JPgLhr6pANOwxumHnW/6LHdEk5rjhiqjn3Msa9vMdjds6EeZiwiAOh
Hpqg5GDPSovLXBCCyPCg/jVA8b0gSbU0qLB5Z0lo55KkKPsLVFPF1sn2cTidVUND
zGLm3Tex/72jGGFGysQE3qJUkUBiX0y0O7iy8uw3mne9RiDeGuk+4siUzArQP03L
4K7YPJieImDYpMQS22tC6C55j/j2fZmVY4Q7rCnvKbDR0KsPA05lRE0jTOkCWgBU
lzl7fSg5d9J0w94t9uWDdLWkrGeQJJOGdYUMkSu9e3mlclXs1JZaxKvcSq0qZm3Y
8zmMYbiQyYJNVCJdUkfJvXZpliyFqmGAiVuEGIlVEDT4oMAk5UlL1/yyV+3X5aLO
yk1ShKc2ayTb0dfxnpm4hVb+ug1r4x1maDiR8VeffoHiV5s2n9jvGFDATD5CbXkw
GiKFByLlExXFRolrCiUxfags3ZUVFXU8aS4e/aHW1xXTtWQYXRtQFYzPrfGaDA/B
guWDUShMoc1pn2MaeZKEhqKqmsRLJv3jQuEQCdN3CLFFur19l0QifxQCH7ZH5GRW
Z+hiUzIG9IKX87RdiMtgYiEvpjJFPFaX3+JRX2tMhOpLoS60b218J249b2wSDcFC
kLYL7UpHIto=
=0+li
-----END PGP SIGNATURE-----