ID OPENVAS:1361412562310140286 Type openvas Reporter This script is Copyright (C) 2017 Greenbone Networks GmbH Modified 2018-10-26T00:00:00
Description
MODX Revolution CMS is prone to a cross-site scripting vulnerability.
##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_modx_cms_xss_vuln.nasl 12106 2018-10-26 06:33:36Z cfischer $
#
# MODX Revolution CMS XSS Vulnerability
#
# Authors:
# Christian Kuersteiner <christian.kuersteiner@greenbone.net>
#
# Copyright:
# Copyright (c) 2017 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
CPE = 'cpe:/a:modx:revolution';
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.140286");
script_version("$Revision: 12106 $");
script_tag(name:"last_modification", value:"$Date: 2018-10-26 08:33:36 +0200 (Fri, 26 Oct 2018) $");
script_tag(name:"creation_date", value:"2017-08-08 15:39:24 +0700 (Tue, 08 Aug 2017)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_cve_id("CVE-2017-11744");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("MODX Revolution CMS XSS Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("This script is Copyright (C) 2017 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_modx_cms_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("modx_cms/installed");
script_tag(name:"summary", value:"MODX Revolution CMS is prone to a cross-site scripting vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"In MODX Revolution, the 'key' and 'name' parameters in the System Settings
module are vulnerable to XSS. A malicious payload sent to connectors/index.php will be triggered by every user,
when they visit this module.");
script_tag(name:"affected", value:"MODX Revolution prior version 2.6.4.");
script_tag(name:"solution", value:"Upgrade to the latest version.");
script_xref(name:"URL", value:"https://github.com/modxcms/revolution/issues/13564");
script_xref(name:"URL", value:"https://github.com/modxcms/revolution/blob/2.x/core/docs/changelog.txt#L81");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!version = get_app_version(cpe: CPE, port: port))
exit(0);
if (version_is_less(version: version, test_version: "2.6.4")) {
report = report_fixed_ver(installed_version: version, fixed_version: "2.6.4");
security_message(port: port, data: report);
exit(0);
}
exit(99);
{"id": "OPENVAS:1361412562310140286", "type": "openvas", "bulletinFamily": "scanner", "title": "MODX Revolution CMS XSS Vulnerability", "description": "MODX Revolution CMS is prone to a cross-site scripting vulnerability.", "published": "2017-08-08T00:00:00", "modified": "2018-10-26T00:00:00", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310140286", "reporter": "This script is Copyright (C) 2017 Greenbone Networks GmbH", "references": ["https://github.com/modxcms/revolution/blob/2.x/core/docs/changelog.txt#L81", "https://github.com/modxcms/revolution/issues/13564"], "cvelist": ["CVE-2017-11744"], "lastseen": "2019-05-29T18:34:09", "viewCount": 6, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2017-11744"]}], "modified": "2019-05-29T18:34:09", "rev": 2}, "score": {"value": 4.5, "vector": "NONE", "modified": "2019-05-29T18:34:09", "rev": 2}, "vulnersScore": 4.5}, "pluginID": "1361412562310140286", "sourceData": "##############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_modx_cms_xss_vuln.nasl 12106 2018-10-26 06:33:36Z cfischer $\n#\n# MODX Revolution CMS XSS Vulnerability\n#\n# Authors:\n# Christian Kuersteiner <christian.kuersteiner@greenbone.net>\n#\n# Copyright:\n# Copyright (c) 2017 Greenbone Networks GmbH\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 as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\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\nCPE = 'cpe:/a:modx:revolution';\n\nif (description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.140286\");\n script_version(\"$Revision: 12106 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-10-26 08:33:36 +0200 (Fri, 26 Oct 2018) $\");\n script_tag(name:\"creation_date\", value:\"2017-08-08 15:39:24 +0700 (Tue, 08 Aug 2017)\");\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\n script_cve_id(\"CVE-2017-11744\");\n\n script_tag(name:\"qod_type\", value:\"remote_banner\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_name(\"MODX Revolution CMS XSS Vulnerability\");\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"This script is Copyright (C) 2017 Greenbone Networks GmbH\");\n script_family(\"Web application abuses\");\n script_dependencies(\"gb_modx_cms_detect.nasl\");\n script_require_ports(\"Services/www\", 80);\n script_mandatory_keys(\"modx_cms/installed\");\n\n script_tag(name:\"summary\", value:\"MODX Revolution CMS is prone to a cross-site scripting vulnerability.\");\n\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n\n script_tag(name:\"insight\", value:\"In MODX Revolution, the 'key' and 'name' parameters in the System Settings\nmodule are vulnerable to XSS. A malicious payload sent to connectors/index.php will be triggered by every user,\nwhen they visit this module.\");\n\n script_tag(name:\"affected\", value:\"MODX Revolution prior version 2.6.4.\");\n script_tag(name:\"solution\", value:\"Upgrade to the latest version.\");\n\n script_xref(name:\"URL\", value:\"https://github.com/modxcms/revolution/issues/13564\");\n script_xref(name:\"URL\", value:\"https://github.com/modxcms/revolution/blob/2.x/core/docs/changelog.txt#L81\");\n\n exit(0);\n}\n\ninclude(\"host_details.inc\");\ninclude(\"version_func.inc\");\n\nif (!port = get_app_port(cpe: CPE))\n exit(0);\n\nif (!version = get_app_version(cpe: CPE, port: port))\n exit(0);\n\nif (version_is_less(version: version, test_version: \"2.6.4\")) {\n report = report_fixed_ver(installed_version: version, fixed_version: \"2.6.4\");\n security_message(port: port, data: report);\n exit(0);\n}\n\nexit(99);\n", "naslFamily": "Web application abuses"}
{"cve": [{"lastseen": "2021-02-02T06:36:33", "description": "In MODX Revolution 2.5.7, the \"key\" and \"name\" parameters in the System Settings module are vulnerable to XSS. A malicious payload sent to connectors/index.php will be triggered by every user, when they visit this module.", "edition": 4, "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 6.1, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.0"}, "impactScore": 2.7}, "published": "2017-07-30T15:29:00", "title": "CVE-2017-11744", "type": "cve", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2017-11744"], "modified": "2017-08-02T13:37:00", "cpe": ["cpe:/a:modx:modx_revolution:2.5.7"], "id": "CVE-2017-11744", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11744", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cpe23": ["cpe:2.3:a:modx:modx_revolution:2.5.7:*:*:*:*:*:*:*"]}]}