Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

 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: 

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

FortiClient SSLVPN Linux client local privilege escalation vulnerability


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.


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.


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.


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:


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967