Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                    Remote Code Execution in TYPO3 Core
                              6 January 2012


        AusCERT Security Bulletin Summary

Product:           TYPO3
Publisher:         TYPO3
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade

Original Bulletin: 

Comment: Please note this vulnerability is being actively exploited.

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

TYPO3 Security Bulletin TYPO3-CORE-SA-2011-004: Remote Code Execution in TYPO3

Component Type: TYPO3 Core

Affected Versions: 4.5.0 up to 4.5.8, 4.6.0 and 4.6.1 (+ development releases
of 4.7 branch)

Vulnerability Types: Remote Code Execution

Overall Severity: Critical

Release Date: December 16, 2011
Vulnerable subcomponent: TYPO3 workspaces

Vulnerability Type: Remote Code Execution

Severity: Critical

Suggested CVSS v2.0: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C (What's that?)

Problem Description: A PHP file which is part of the workspaces system
extension does not validate passed arguments.

You are only vulnerable if all of the following conditions are met:

    	* You are using TYPO3 version 4.5.0 up to 4.5.8,  4.6.0 or 4.6.1
	(+ development releases of 4.7 branch).
	* You have all of following PHP configuration variables set to "on":
	register_globals ("off" by default, advised to be "off" in
	TYPO3 Security Guide), allow_url_include ("off" by default) and
	allow_url_fopen ("on" by default)

If you are using the Suhosin PHP extension you are only vulnerable if you have
additionally put URL schemes in the configuration variable

The workspaces system extension does not need to be activated for this
vulnerability to exist.

Possible Impact: A crafted request to a vulnerable TYPO3 installation will
allow an attacker to load PHP code from an external source and to execute it on
the TYPO3 installation.

Solution: You can choose one of the solutions below:

	*Update to the TYPO3 version 4.5.9 or 4.6.2 that fix the problem
	*Set at least one of following PHP configuration variables to "off":
	register_globals, allow_url_include and allow_url_fopen
	*Apply the patch that is linked below!
	*Set up a mod_security rule:
	*SecRule  ARGS:BACK_PATH  "^(https?|ftp)"  "deny"

Patch: how to patch

    	Patch for TYPO3 version 4.5.x and 4.6.x (md5 sum:

Note: We have been informed that this vulnerability has already massively been
tried to be exploited.

Credits: Credits go to Bjrn Pedersen and Christian Toffolo who discovered and
reported the issue and the Security Team member Helmut Hummel for providing
the patch.

General Advice: Follow the recommendations that are given in the TYPO3
Security Guide. Please subscribe to the typo3-announce mailing list.

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