CVE Vulnerabilities

CVE-2009-3633

Cross-Site Request Forgery (CSRF)

Published: Nov 02, 2009 | Modified: Aug 17, 2017
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Cross-site scripting (XSS) vulnerability in the t3lib_div::quoteJSvalue API function in TYPO3 4.0.13 and earlier, 4.1.x before 4.1.13, 4.2.x before 4.2.10, and 4.3.x before 4.3beta2 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors related to the sanitizing algorithm.

Weakness

The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.

Affected Software

Name Vendor Start Version End Version
Typo3 Typo3 * 4.0.12 (including)
Typo3 Typo3 0.1.2 (including) 0.1.2 (including)
Typo3 Typo3 1.0.14 (including) 1.0.14 (including)
Typo3 Typo3 1.1 (including) 1.1 (including)
Typo3 Typo3 1.1.1 (including) 1.1.1 (including)
Typo3 Typo3 1.1.09 (including) 1.1.09 (including)
Typo3 Typo3 1.1.10 (including) 1.1.10 (including)
Typo3 Typo3 1.2.0 (including) 1.2.0 (including)
Typo3 Typo3 1.3.0 (including) 1.3.0 (including)
Typo3 Typo3 1.3.2 (including) 1.3.2 (including)
Typo3 Typo3 3.0 (including) 3.0 (including)
Typo3 Typo3 3.3.x (including) 3.3.x (including)
Typo3 Typo3 3.5 (including) 3.5 (including)
Typo3 Typo3 3.5.x (including) 3.5.x (including)
Typo3 Typo3 3.6.x (including) 3.6.x (including)
Typo3 Typo3 3.7.0 (including) 3.7.0 (including)
Typo3 Typo3 3.7.1 (including) 3.7.1 (including)
Typo3 Typo3 3.7.x (including) 3.7.x (including)
Typo3 Typo3 3.8 (including) 3.8 (including)
Typo3 Typo3 3.8.x (including) 3.8.x (including)
Typo3 Typo3 4.0 (including) 4.0 (including)
Typo3 Typo3 4.0.1 (including) 4.0.1 (including)
Typo3 Typo3 4.0.2 (including) 4.0.2 (including)
Typo3 Typo3 4.0.3 (including) 4.0.3 (including)
Typo3 Typo3 4.0.4 (including) 4.0.4 (including)
Typo3 Typo3 4.0.5 (including) 4.0.5 (including)
Typo3 Typo3 4.0.6 (including) 4.0.6 (including)
Typo3 Typo3 4.0.7 (including) 4.0.7 (including)
Typo3 Typo3 4.0.8 (including) 4.0.8 (including)
Typo3 Typo3 4.0.9 (including) 4.0.9 (including)
Typo3 Typo3 4.0.10 (including) 4.0.10 (including)
Typo3 Typo3 4.0.11 (including) 4.0.11 (including)
Typo3 Typo3 4.1.0 (including) 4.1.0 (including)
Typo3 Typo3 4.1.0-beta1 (including) 4.1.0-beta1 (including)
Typo3 Typo3 4.1.0-rc1 (including) 4.1.0-rc1 (including)
Typo3 Typo3 4.1.1 (including) 4.1.1 (including)
Typo3 Typo3 4.1.2 (including) 4.1.2 (including)
Typo3 Typo3 4.1.3 (including) 4.1.3 (including)
Typo3 Typo3 4.1.4 (including) 4.1.4 (including)
Typo3 Typo3 4.1.5 (including) 4.1.5 (including)
Typo3 Typo3 4.1.6 (including) 4.1.6 (including)
Typo3 Typo3 4.1.7 (including) 4.1.7 (including)
Typo3 Typo3 4.1.8 (including) 4.1.8 (including)
Typo3 Typo3 4.1.9 (including) 4.1.9 (including)
Typo3 Typo3 4.1.10 (including) 4.1.10 (including)
Typo3 Typo3 4.1.11 (including) 4.1.11 (including)
Typo3 Typo3 4.1.12 (including) 4.1.12 (including)
Typo3 Typo3 4.2.0 (including) 4.2.0 (including)
Typo3 Typo3 4.2.1 (including) 4.2.1 (including)
Typo3 Typo3 4.2.2 (including) 4.2.2 (including)
Typo3 Typo3 4.2.3 (including) 4.2.3 (including)
Typo3 Typo3 4.2.4 (including) 4.2.4 (including)
Typo3 Typo3 4.2.5 (including) 4.2.5 (including)
Typo3 Typo3 4.2.6 (including) 4.2.6 (including)
Typo3 Typo3 4.2.7 (including) 4.2.7 (including)
Typo3 Typo3 4.2.8 (including) 4.2.8 (including)
Typo3 Typo3 4.2.9 (including) 4.2.9 (including)
Typo3 Typo3 4.3 (including) 4.3 (including)
Typo3 Typo3 4.3-alpha1 (including) 4.3-alpha1 (including)
Typo3-src Ubuntu dapper *
Typo3-src Ubuntu hardy *
Typo3-src Ubuntu intrepid *
Typo3-src Ubuntu jaunty *
Typo3-src Ubuntu karmic *

Potential Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, use anti-CSRF packages such as the OWASP CSRFGuard. [REF-330]
  • Another example is the ESAPI Session Management control, which includes a component for CSRF. [REF-45]
  • Use the “double-submitted cookie” method as described by Felten and Zeller:
  • When a user visits a site, the site should generate a pseudorandom value and set it as a cookie on the user’s machine. The site should require every form submission to include this value as a form value and also as a cookie value. When a POST request is sent to the site, the request should only be considered valid if the form value and the cookie value are the same.
  • Because of the same-origin policy, an attacker cannot read or modify the value stored in the cookie. To successfully submit a form on behalf of the user, the attacker would have to correctly guess the pseudorandom value. If the pseudorandom value is cryptographically strong, this will be prohibitively difficult.
  • This technique requires Javascript, so it may not work for browsers that have Javascript disabled. [REF-331]

References