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

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

                               ESB-2015.1962
 FortiClient SSLVPN Linux client local privilege escalation vulnerability
                               28 July 2015

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

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

Product:           Forticlient
Publisher:         FortiGuard
Operating System:  Linux variants
Impact/Access:     Root Compromise -- Existing Account
Resolution:        Patch/Upgrade

Original Bulletin: 
   http://www.fortiguard.com/advisory/FG-IR-15-017/

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

FortiClient SSLVPN Linux client local privilege escalation vulnerability

Info

Risk 	Medium 

Date 	Jul 24 2015

Impact 	Privilege Escalation

Fixed 	In Firmware 2317

Installing Forticlient SSLVPN Linux client build 2312 and lower in a home 
directory that is world readable-executable yields a privilege escalation 
vulnerability: Any local user can then exploit the helper/subroc setuid binary
to run arbitrary code with root privileges.

Impact

When subproc is called, it parses and executes "./iclean.linux.sh". Thus a 
malicious local user may create a symbolic link to subproc in the same 
directory as an "arbitrary" iclean.linux.sh. The latter will then be parsed 
and executed by subproc (i.e. with uid 0).

Affected Products

Standalone Forticlient SSLVPN Linux client build 2312 and lower.

Solutions

Upgrade to FortiClient Linux SSLVPN version 2317 or above.

Actual Exploitability varies with host systems: Ubuntu and Debian are known to
set world readable-executable epermissions on home directories by default, 
while Fedora (and most other Linux distribution) do not.

In the following example, user notvulnerable is not affected, while user 
iamvuln could be affected:

ls -l /home
total 28
drwx------. 3 notvulnerable notvulnerable 4096 Jul 21 14:26 notvulnerable
drwx---r-x. 6 iamvuln iamvuln 4096 Jul 21 14:26 iamvuln

A workaround is to apply chmod 700 to the user's home directory who installed
the Linux FortiClient SSLVPN.

Acknowledgement

Thanks to Brian Vincent.

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

iQIVAwUBVbbnkH6ZAP0PgtI9AQKlig//TTwzB4Ldo1dc3ogXXVeJ1m2KefY5Kkf9
39NXXfs1GRlyBdYmdNIcQ17byUoQ/GMaKMiUBPSlYyL3rTsiLwKK34wllyPhSCyk
xmqW2x0wcJPt1zNZLDMUFyaEOfgXZ+N8d2Q/I+1xJcFROmcsLS3DwycFDimY9kxA
7+vcyM1CBCqsGVOmOD+qBZ9LEykrCoYiA1zKFLI/QKJ7eN44vXqIwbI6truE4SBG
IhlHtvLKQ84AhWiwclg/eOSglir327cwzQ/FznzF3fEWW3BW+bdatibubx2DlHZz
awNA5N80MkweY89qHUgxRDz1g9ocVpZTJqsbnARC92Ft40vwk0j6ZkYD5VexkKB/
UFCiMIFMT1577J/JnXZRFrI6t0TSSGZg2O06F+HAqh4NlU76Zy+/F3/qVG0TULaH
1K/vFpR1YtVVcHVIAnLMd0pixOf6zwVLOXZMQggD7pqAdztEX1sWA9VKs//ixLJE
tqL9meyAcnwxbRR44A/c0Zzh4IK1b3yo1OwjnY2bKyRDgwklr69cWBTNFnnJwOD6
G07qdyvzT5Bttc9c0ux7AoUh3ZOLU94nc2tz6PsOstb7CHDSl/UFGT2RKJTgBeNU
9AyHIyyn3IPksUDxSp4qeMyb2qHiTNxU8w1PCStXXIfHuX+UysgvRLAZOFtqssl2
uggE2wH39HM=
=mVAb
-----END PGP SIGNATURE-----