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

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

                               ESB-2014.2384
         TYPO3-CORE-SA-2014-003: Link spoofing and cache poisoning
                       vulnerabilities in TYPO3 CMS
                             12 December 2014

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

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

Product:           TYPO3
Publisher:         TYPO3
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Provide Misleading Information -- Remote with User Interaction
Resolution:        Patch/Upgrade

Original Bulletin: 
   http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2014-003/

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

TYPO3-CORE-SA-2014-003: Link spoofing and cache poisoning vulnerabilities in 
TYPO3 CMS

December 09, 2014

Category: TYPO3 CMS

Author: Helmut Hummel

Keywords: TYPO3 CMS, TYPO3-CORE-SA-2014-003, Link Spoofing, Cache Poisoning

It has been discovered that TYPO3 CMS is vulnerable to Link Spoofing and Cache
Poisoning.

Component Type: TYPO3 CMS

Vulnerability Types: Link Spoofing, Cache Poisoning

Overall Severity: Medium

Release Date: December 10, 2014

Vulnerable subcomponent: Frontend Rendering

Vulnerability Type: Link Spoofing

Affected Versions: Versions 4.5.0 to 4.5.38, 4.6.0 to 4.6.18, 4.7.0 to 4.7.20,
6.0.0 to 6.0.14, 6.1.0 to 6.1.12 and 6.2.0 to 6.2.8, 7.0.0 to 7.0.1

Severity: Medium

Suggested CVSS v2.0: AV:N/AC:L/Au:N/C:P/I:P/A:N/E:F/RL:OF/RC:C

CVE: not assigned yet

Problem Description: An attacker could forge a request, which modifies anchor
only links on the homepage of a TYPO3 installation in a way that they point to
arbitrary domains, if the configuration option config.prefixLocalAnchors is 
used with any possible value. TYPO3 versions 4.6.x and higher are only 
affected if the homepage is not a shortcut to a different page. AS an 
additional pre-condition URL rewriting must be enabled in the web server, 
which typically is, when using extensions like realurl or cooluri.

Installation where config.absRefPrefix is additionally set to any value are 
not affected by this vulnerability.

Example of affected configuration:

TypoScript:

config.absRefPrefix =

config.prefixLocalAnchors = all

page = PAGE

page.10 = TEXT

page.10.value = <a href="#skiplinks">Skiplinks</a>

.htaccess:

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php [L]

Solution: Set config.absRefPrefix to a value fitting your installation

or

Solution: Update to TYPO3 versions 4.5.39, 6.2.9 or 7.0.2 that fix the problem
described.

Important Note: Since the changes provided with the TYPO3 update change the 
way the prefix for local anchors is generated, there might be cases where the
update breaks functionality. The impact of the breakage is that the page is 
reloaded in the browser when a user follows a link where previously the 
browser only jumped to a certain section of the current page.

Credits: Thanks to Gernot Leitgab who discovered and reported the 
vulnerability.

Vulnerability Type: Cache Poisoning

Affected Versions: Versions 4.5.0 to 4.5.38, 4.6.0 to 4.6.18, 4.7.0 to 4.7.20,
6.0.0 to 6.0.14, 6.1.0 to 6.1.12 and 6.2.0 to 6.2.8, 7.0.0 to 7.0.1

Severity: Low

Suggested CVSS v2.0: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:F/RL:OF/RC:C

CVE: not assigned yet

Problem Description: A request URL with arbitrary arguments, but still 
pointing to the home page of a TYPO3 installation can be cached if the 
configuration option config.prefixLocalAnchors is used with the values "all" 
or "cached". The impact of this vulnerability is that unfamiliar looking links
to the home page can end up in the cache, which leads to a reload of the page
in the browser when section links are followed by web page visitors, instead 
of just directly jumping to the requested section of the page. TYPO3 versions
4.6.x and higher are only affected if the homepage is not a shortcut to a 
different page.

Solution: Removing the configuration options config.prefixLocalAnchors (and 
optionally also config.baseUrl) in favor of config.absRefPrefix

Credits: Thanks to Gernot Leitgab who discovered and reported the 
vulnerability.

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

General Note: All security related code changes are tagged so that you can 
easily look them up on our review system.

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

iQIVAwUBVIpOmxLndAQH1ShLAQJZEw//Th7+H80rG6Zes8db7aj38PhnNY07xmNw
UBHD7gUBSInBVB/lsD2f2THC98Ki+G01vvs0C2ceOZWQgfKDpUM3Rlm+87bPSEEx
obegydyvkJAXuR7eWaFiRN9UKD0LuFuvzobUwhgv7K0R1/PP0DQlaxiF2PPBuDkn
jlW7N6o46hfR2NpJmqKkba7lrSZabK3pu50WNh6Jsh4aamQVvrEnJLr0/ytXwwK2
ASOkbWL4CV20qBDRLL6uk7kwH/JFhNyses1ibKMlYliVAeGtIzwy+iiF+2Q94PK6
GZGTV1qeVs/WGlxg4sEClBVFdE5KVQcY/5Da2fgZgzoFopM9RvxP+CBaoDSwGbrS
6fE0uWyfx/JHqtUqh+YJwAy5H3zhJPN76LEGpnzDd5N7EulxoxX3hQgbNcWMKNV5
H1/Kwb9NVRUTvdDsuPEhGMTznjiZ3fKA0ohkai0RArSvqP8fZW3FMgXpezy97Lk2
kvjDMcankoREaPVBXDxCdpPh1OdZs1uA+gLNQa8v12GWFnohn2unNYqMbP7GmG7Q
VAUyRymv5nxkbCZfEfMC1o6ITo7MQ5weMAyJKMnxf2INKBLNecbzsEOhlj8Hd5ir
wVP8ER+tAePbkMo5T86nnJaFEm+RgJx4UuhhTAyjz3sEguL1HXQLKru0YgTVmT2L
qTSKYl83G54=
=jahH
-----END PGP SIGNATURE-----