This security advisory addresses Hotfix 02, which corrects several Content Gateway issues.
Also Rolls up HF01
This hotfix resolves the following problems and addresses CVE-2015-5718:
------------------------------- NOTE -----------------------------------
This hotfix contains code changes to decouple OpenSSL from
Websense Content Gateway, which will help to make OpenSSL upgrades
easier in the future.
Any needed OpenSSL updates will be provided in a separate hotfix.
------------------------------------------------------------------------
Problem:
OpenLDAP sends IPv6 queries when resolving the LDAP server, if a name is
configured. Sometimes the DNS can be slow (occurs with IPv6 queries
specifically). This latency can result in the expiration of an internal
10-second timeout for Content Gateway LDAP authentication.
This timeout could cause (what appeared to be) a random authentication
prompt to the end user, even if proper credentials had been specified.
Resolution:
This has been corrected. IPv6 DNS queries in OpenLDAP have been disabled.
Problem:
In an explicit proxy deployment, if a transparent HTTP request including
a "Proxy-Connection" header was received, Content Gateway would close the
connection with the client after sending a type 2 message.
Resolution:
This issue has been resolved.
Problem:
When the Certificate Verification Engine and Verify entire certificate chain
were both enabled, then all HTTPS sites using certificates with CN *.sas.com
were denied after a deny incident was auto-created for
https://collect.sas.com
Resolution:
This issue has been resolved.
Problem:
The HTTP response for the Captive Portal page did not contain the
"Content-Type: text/html" header, and some systems such as NetIQ
Access Manager (NAM) could not identify it correctly.
Resolution:
This issue has been resolved.
Problem:
Content Gateway did not query filter.config (table of security filtering
rules) using the IP address contained in the X-Forwarded-For field.
Instead, it used the Source IP address in the packets.
Resolution:
Content Gateway has been modified to query filter.config using the IP
address contained in the X-Forwarded-For field when "Read authentication
from child proxy" is configured ON.
When the X-Forwarded-For field is not present, or "Read authentication
from child proxy" is OFF, Content Gateway will use the Source IP
address in the packets, as it did before this hotfix was applied.
Problem:
Buffer Overflow or Memory Corruption could occur in Content Gateway manager
when a program attempted to write more than than 512 bytes of data
into the diagnostic command line.
Special thanks to IT Security Consultant Christoph Schwarz
for alerting us to this issue.
C. Schwarz (Office Bangkok)
SEC Consult Vulnerability Lab
https://www.sec-consult.com/
Resolution:
This issue has been resolved.
This hotfix also rolls up Hotfix 01, which resolved the following issues:
Problem:
When SSL decryption is disabled, Content Gateway could not tunnel non-SSL
traffic after a CONNECT request on the SSL port. As a result, some specific
applications such as Skype could not work.
Resolution:
This issue has been resolved.
The following parameter needs to be enabled when SSL decryption is disabled:
(a) Open the records.config file in the Content Gateway config directory:
(/opt/WCG/config)
(b) Add the following line to the records.config file:
CONFIG proxy.config.ssl_decryption_bypass.tunnel_non-ssl_traffic INT 1
(c) Save and close the file.
(d) Restart the proxy.
Problem:
Websense Content Gateway could log credentials as plain text in the
file dss_registration.log.
Resolution:
This issue has been resolved.
Note: After you install this hotfix, the log file dss_registration.log
will be cleared.
If you then attempt to re-register TRITON AP-DATA, the password is
no longer logged as plain text.
Problem:
Content Gateway could reset when the log buffer was full.
Resolution:
This issue has been resolved.
-----------------------------------------------------------------------
Installation & Configuration
-----------------------------------------------------------------------
This hotfix replaces the following files under the folder /opt/WCG/bin
content_manager
content_gateway
dss_register
=============================================================================
V-Series Installation
=============================================================================
Note that Websense V-Series appliances provide a facility for applying hotfixes
from within the appliance management console.
At sites that run Websense web solutions on V-Series, to install this hotfix:
1. Go to the page Administration > Patches / Hotfixes > Hotfixes.
2. Locate and then download the hotfix:
- Enter PROXY-8.0.0-002 and click Find.
- After the correct hotfix has been located, click Download.
3. Click Install to install the hotfix.
4. No manual restart is needed, because the installer takes care of that step.
Note that one feature in this hotfix requires a change to records.config.
If you cannot reach the hotfix download site from within the appliance console,
please see the manual steps for applying this hotfix to a V-Series appliance,
just below.
=============================================================================
Linux Server Installation
=============================================================================
For sites that have installed Websense Content Gateway on a Linux server
that is not a Websense appliance, or who cannot reach the download site
from within the appliance console, the instructions for patching are
shown below:
To install this hotfix:
Copy WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz to /root/
Then, with root permission:
1. #rm -fr /tmp/HF02/
2. #mkdir /tmp/HF02/
3. #cp /root/WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
/tmp/HF02/
4. #cd /tmp/HF02/
5. #tar xvzf WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
6. #./install_HF02.sh
Note that one feature in this hotfix requires a change to records.config.
-----------------------------------------------------------------------
If you later need to uninstall this Hotfix for any reason:
-----------------------------------------------------------------------
Copy WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz to /root/
Then, with root permission:
1. #rm -fr /tmp/HF02/
2. #mkdir /tmp/HF02/
3. #cp /root/WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
/tmp/HF02/
4. #cd /tmp/HF02/
5. #tar xvzf WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
6. #./install_HF02.sh rollback
=============================================================================
X10G Blade Server - Installation
=============================================================================
-----------------------------------------------------------------
Installation with rpm package (quick install)
-----------------------------------------------------------------
There are 2 ways to retrieve hotfix files for X10G blades:
- Download the hotfix file directly from Websense download servers to each blade.
- Download the hotfix file from the mywebsense.com Downloads page to a filestore,
then upload the file from the filestore to each blade. Note that all X10G appliance
patches are available from the MyWebsense Downloads page at:
https://www.websense.com/content/mywebsense-hotfixes.aspx
The hotfix filename is:
Websense-Hotfix-PROXY-8.0.0-002.rpm
Note that Websense X-Series Appliances provide a facility for applying hotfixes
from within the appliance command-line interface (CLI). This enables you to
download the hotfix file directly from a Websense download server to a blade.
At sites that run Websense solutions on security blade appliances, to install
this hotfix:
1. In the CLI, enter the config context (admin password required):
config
2. Locate and then download the hotfix rpm package:
load hotfix --id PROXY-8.0.0-002
install hotfix --id PROXY-8.0.0-002
3. Manually restart the appliance after applying the PROXY-8.0.0-002 hotfix.
4. Note that one feature in this hotfix requires a change to records.config.
See instructions above for these details.
If you later need to uninstall this hotfix for any reason:
1. In the CLI, enter the config context (admin password required):
config
2. Uninstall hotfix
uninstall hotfix --id PROXY-8.0.0-002
OR
Run "uninstall hotfix" and then select the hotfix ID from the list
3. Manually restart the blade appliance after uninstalling the PROXY-8.0.0-002
hotfix.
=============================================================================
-----------------------------------------------------------------
Using Technical Support access to install the hotfix on X10G:
-----------------------------------------------------------------
Websense Technical Support can assist you with the following process.
1. Download the hotfix archive to a local folder from the MyWebsense
Downloads page:
WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
2. Enable Websense Technical Support access from the appliance CLI.
To do this:
- log on to the CLI
- enter config mode (admin password required)
- execute this command:
appliance (config)# set account websense-ts --status on
3. Decrypt the password that is provided by the 'set account' command.
4. Log on to the appliance with the 'websense-ts' account and then
promote to the root account with su.
5. Copy the hotfix tar.gz archive to a temporary directory on the
appliance with a utility such as scp / pscp / winscp.
6. Extract the hotfix archive.
7. Apply the hotfix.
Copy WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz to /root/
Then, with root permission:
1. #rm -fr /tmp/HF02/
2. #mkdir /tmp/HF02/
3. #cp /root/WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
/tmp/HF02/
4. #cd /tmp/HF02/
5. #tar xvzf WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
6. #./install_HF02.sh
8. Note that one feature in this hotfix requires a change to records.config.
9. Delete any temporary files, log out of the 'websense-ts" session,
and disable Websense technical support access from the appliance CLI.
appliance (config)# set account websense-ts --status off
If you later need to uninstall this Hotfix for any reason:
Copy WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz to /root/
Then, with root permission:
1. #rm -fr /tmp/HF02/
2. #mkdir /tmp/HF02/
3. #cp /root/WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
/tmp/HF02/
4. #cd /tmp/HF02/
5. #tar xvzf WCG_8.0.0_Hotfix_02_WCG_Multiple_fixes_linux.tar.gz
6. #./install_HF02.sh rollback
Delete any temporary files, log out of the 'websense-ts" sesion,
and disable Websense technical support access from the appliance CLI.
appliance (config)# set account websense-ts --status off
=============================================================================
End of X10G Blade Server instructions
============================================================================