typo3 -- Cross-Site Scripting Vulnerability in TYPO3 Core
2012-07-04T00:00:00
ID C28EE9CD-916E-4DCF-8ED3-E97E5846DB6C Type freebsd Reporter FreeBSD Modified 2012-07-04T00:00:00
Description
Typo3 Security Report (TYPO3-CORE-SA-2012-003):
TYPO3 bundles and uses an external JavaScript and Flash Upload Library
called swfupload. TYPO3 can be configured to use this Flash uploader.
Input passed via the "movieName" parameter to swfupload.swf is not
properly sanitised before being used in a call to
"ExternalInterface.call()". This can be exploited to execute arbitrary
script code in a user's browser session in context of an affected site.
The existance of the swfupload library is sufficient to be vulnerable
to the reported problem.
{"reporter": "FreeBSD", "published": "2012-07-04T00:00:00", "cvelist": [], "affectedPackage": [{"OS": "FreeBSD", "OSVersion": "any", "packageVersion": "4.5", "packageFilename": "UNKNOWN", "packageName": "typo3", "arch": "noarch", "operator": "eq"}, {"OS": "FreeBSD", "OSVersion": "any", "packageVersion": "4.5.17", "packageFilename": "UNKNOWN", "packageName": "typo3", "arch": "noarch", "operator": "lt"}], "title": "typo3 -- Cross-Site Scripting Vulnerability in TYPO3 Core", "type": "freebsd", "href": "https://vuxml.freebsd.org/freebsd/c28ee9cd-916e-4dcf-8ed3-e97e5846db6c.html", "bulletinFamily": "unix", "enchantments": {"score": {"value": 3.1, "vector": "NONE", "modified": "2016-09-26T17:24:37", "rev": 2}, "dependencies": {"references": [{"type": "openvas", "idList": ["OPENVAS:71527", "OPENVAS:136141256231071527"]}, {"type": "nessus", "idList": ["FREEBSD_PKG_C28EE9CD916E4DCF8ED3E97E5846DB6C.NASL"]}, {"type": "typo3", "idList": ["TYPO3-CORE-SA-2012-003"]}], "modified": "2016-09-26T17:24:37", "rev": 2}, "vulnersScore": 3.1}, "modified": "2012-07-04T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "viewCount": 1, "edition": 1, "description": "\nTypo3 Security Report (TYPO3-CORE-SA-2012-003):\n\nTYPO3 bundles and uses an external JavaScript and Flash Upload Library\n\t called swfupload. TYPO3 can be configured to use this Flash uploader.\n\t\tInput passed via the \"movieName\" parameter to swfupload.swf is not\n\t\tproperly sanitised before being used in a call to\n\t\t\"ExternalInterface.call()\". This can be exploited to execute arbitrary\n\t\tscript code in a user's browser session in context of an affected site.\n\t\tThe existance of the swfupload library is sufficient to be vulnerable\n\t\tto the reported problem.\n\n", "references": ["http://secunia.com/advisories/49780/", "https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-003/"], "id": "C28EE9CD-916E-4DCF-8ED3-E97E5846DB6C", "lastseen": "2016-09-26T17:24:37"}
{"openvas": [{"lastseen": "2017-07-02T21:10:45", "bulletinFamily": "scanner", "cvelist": [], "description": "The remote host is missing an update to the system\nas announced in the referenced advisory.", "modified": "2017-04-14T00:00:00", "published": "2012-08-10T00:00:00", "id": "OPENVAS:71527", "href": "http://plugins.openvas.org/nasl.php?oid=71527", "type": "openvas", "title": "FreeBSD Ports: typo3", "sourceData": "#\n#VID c28ee9cd-916e-4dcf-8ed3-e97e5846db6c\n# OpenVAS Vulnerability Test\n# $\n# Description: Auto generated from VID c28ee9cd-916e-4dcf-8ed3-e97e5846db6c\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2012 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largely excerpted from the referenced\n# advisories, and are Copyright (c) the respective author(s)\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"The following package is affected: typo3\";\ntag_solution = \"Update your system with the appropriate patches or\nsoftware upgrades.\n\nhttp://secunia.com/advisories/49780/\nhttps://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-003/\nhttp://www.vuxml.org/freebsd/c28ee9cd-916e-4dcf-8ed3-e97e5846db6c.html\";\ntag_summary = \"The remote host is missing an update to the system\nas announced in the referenced advisory.\";\n\n\n\nif(description)\n{\n script_id(71527);\n script_version(\"$Revision: 5956 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-04-14 11:02:12 +0200 (Fri, 14 Apr 2017) $\");\n script_tag(name:\"creation_date\", value:\"2012-08-10 03:22:17 -0400 (Fri, 10 Aug 2012)\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:P/I:N/A:N\");\n script_name(\"FreeBSD Ports: typo3\");\n\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2012 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"FreeBSD Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/freebsdrel\", \"login/SSH/success\");\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n#\n# The script code starts here\n#\n\ninclude(\"pkg-lib-bsd.inc\");\nvuln = 0;\ntxt = \"\";\nbver = portver(pkg:\"typo3\");\nif(!isnull(bver) && revcomp(a:bver, b:\"4.5\")>=0 && revcomp(a:bver, b:\"4.5.17\")<0) {\n txt += \"Package typo3 version \" + bver + \" is installed which is known to be vulnerable.\\n\";\n vuln = 1;\n}\nif(!isnull(bver) && revcomp(a:bver, b:\"4.6\")>=0 && revcomp(a:bver, b:\"4.6.10\")<0) {\n txt += \"Package typo3 version \" + bver + \" is installed which is known to be vulnerable.\\n\";\n vuln = 1;\n}\nif(!isnull(bver) && revcomp(a:bver, b:\"4.7\")>=0 && revcomp(a:bver, b:\"4.7.2\")<0) {\n txt += \"Package typo3 version \" + bver + \" is installed which is known to be vulnerable.\\n\";\n vuln = 1;\n}\n\nif(vuln) {\n security_message(data:string(txt ));\n} else if (__pkg_match) {\n exit(99); # Not vulnerable.\n}\n", "cvss": {"score": 0.0, "vector": "NONE"}}, {"lastseen": "2019-05-29T18:39:03", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-3414"], "description": "The remote host is missing an update to the system\n as announced in the referenced advisory.", "modified": "2018-10-05T00:00:00", "published": "2012-08-10T00:00:00", "id": "OPENVAS:136141256231071527", "href": "http://plugins.openvas.org/nasl.php?oid=136141256231071527", "type": "openvas", "title": "FreeBSD Ports: typo3", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: freebsd_typo35.nasl 11768 2018-10-05 14:07:38Z cfischer $\n#\n# Auto generated from VID c28ee9cd-916e-4dcf-8ed3-e97e5846db6c\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2012 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largely excerpted from the referenced\n# advisories, and are Copyright (c) the respective author(s)\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.71527\");\n script_version(\"$Revision: 11768 $\");\n script_cve_id(\"CVE-2012-3414\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-10-05 16:07:38 +0200 (Fri, 05 Oct 2018) $\");\n script_tag(name:\"creation_date\", value:\"2012-08-10 03:22:17 -0400 (Fri, 10 Aug 2012)\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_name(\"FreeBSD Ports: typo3\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (c) 2012 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"FreeBSD Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/freebsd\", \"ssh/login/freebsdrel\");\n\n script_tag(name:\"insight\", value:\"The following package is affected: typo3\");\n\n script_tag(name:\"solution\", value:\"Update your system with the appropriate patches or\n software upgrades.\");\n\n script_xref(name:\"URL\", value:\"http://secunia.com/advisories/49780/\");\n script_xref(name:\"URL\", value:\"https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-003/\");\n script_xref(name:\"URL\", value:\"http://www.vuxml.org/freebsd/c28ee9cd-916e-4dcf-8ed3-e97e5846db6c.html\");\n\n script_tag(name:\"summary\", value:\"The remote host is missing an update to the system\n as announced in the referenced advisory.\");\n\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-bsd.inc\");\n\nvuln = FALSE;\ntxt = \"\";\n\nbver = portver(pkg:\"typo3\");\nif(!isnull(bver) && revcomp(a:bver, b:\"4.5\")>=0 && revcomp(a:bver, b:\"4.5.17\")<0) {\n txt += \"Package typo3 version \" + bver + \" is installed which is known to be vulnerable.\\n\";\n vuln = TRUE;\n}\nif(!isnull(bver) && revcomp(a:bver, b:\"4.6\")>=0 && revcomp(a:bver, b:\"4.6.10\")<0) {\n txt += \"Package typo3 version \" + bver + \" is installed which is known to be vulnerable.\\n\";\n vuln = TRUE;\n}\nif(!isnull(bver) && revcomp(a:bver, b:\"4.7\")>=0 && revcomp(a:bver, b:\"4.7.2\")<0) {\n txt += \"Package typo3 version \" + bver + \" is installed which is known to be vulnerable.\\n\";\n vuln = TRUE;\n}\n\nif(vuln) {\n security_message(data:txt);\n} else if (__pkg_match) {\n exit(99);\n}", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "nessus": [{"lastseen": "2021-01-07T10:49:44", "description": "Typo3 Security Report (TYPO3-CORE-SA-2012-003) :\n\nTYPO3 bundles and uses an external JavaScript and Flash Upload Library\ncalled swfupload. TYPO3 can be configured to use this Flash uploader.\nInput passed via the 'movieName' parameter to swfupload.swf is not\nproperly sanitised before being used in a call to\n'ExternalInterface.call()'. This can be exploited to execute arbitrary\nscript code in a user's browser session in context of an affected\nsite. The existance of the swfupload library is sufficient to be\nvulnerable to the reported problem.", "edition": 20, "published": "2012-07-06T00:00:00", "title": "FreeBSD : typo3 -- XSS Vulnerability in TYPO3 Core (c28ee9cd-916e-4dcf-8ed3-e97e5846db6c)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": [], "modified": "2012-07-06T00:00:00", "cpe": ["cpe:/o:freebsd:freebsd", "p-cpe:/a:freebsd:freebsd:typo3"], "id": "FREEBSD_PKG_C28EE9CD916E4DCF8ED3E97E5846DB6C.NASL", "href": "https://www.tenable.com/plugins/nessus/59853", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2018 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(59853);\n script_version(\"1.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_xref(name:\"Secunia\", value:\"49780\");\n\n script_name(english:\"FreeBSD : typo3 -- XSS Vulnerability in TYPO3 Core (c28ee9cd-916e-4dcf-8ed3-e97e5846db6c)\");\n script_summary(english:\"Checks for updated packages in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\n\"The remote FreeBSD host is missing one or more security-related\nupdates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Typo3 Security Report (TYPO3-CORE-SA-2012-003) :\n\nTYPO3 bundles and uses an external JavaScript and Flash Upload Library\ncalled swfupload. TYPO3 can be configured to use this Flash uploader.\nInput passed via the 'movieName' parameter to swfupload.swf is not\nproperly sanitised before being used in a call to\n'ExternalInterface.call()'. This can be exploited to execute arbitrary\nscript code in a user's browser session in context of an affected\nsite. The existance of the swfupload library is sufficient to be\nvulnerable to the reported problem.\"\n );\n # https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-003/\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?9ffb6715\"\n );\n # https://vuxml.freebsd.org/freebsd/c28ee9cd-916e-4dcf-8ed3-e97e5846db6c.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?9f0596f7\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected packages.\");\n script_set_attribute(attribute:\"risk_factor\", value:\"High\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:typo3\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2012/07/04\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2012/07/06\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2012/07/06\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2012-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"typo3>=4.5<4.5.17\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"typo3>=4.6<4.6.10\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"typo3>=4.7<4.7.2\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:pkg_report_get());\n else security_hole(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 0.0, "vector": "NONE"}}]}