ID OPENVAS:1361412562310113038 Type openvas Reporter Copyright (C) 2019 Greenbone Networks GmbH Modified 2019-10-07T00:00:00
Description
Rancher is prone to multiple vulnerabilities.
# Copyright (C) 2019 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# 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.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.113038");
script_version("2019-10-07T14:34:48+0000");
script_tag(name:"last_modification", value:"2019-10-07 14:34:48 +0000 (Mon, 07 Oct 2019)");
script_tag(name:"creation_date", value:"2019-06-11 14:44:30 +0000 (Tue, 11 Jun 2019)");
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_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_cve_id("CVE-2019-12274", "CVE-2019-11881");
script_name("Rancher < 2.2.4 Multiple Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
script_family("Privilege escalation");
script_dependencies("gb_rancher_detect.nasl");
script_mandatory_keys("rancher/detected");
script_tag(name:"summary", value:"Rancher is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The following vulnerabilities exist:
- Unprivileged users (if allowed to deploy nodes) can gain admin access to the
Rancher management plane because node driver options intentionally allow
posting certain data to the cloud. The problem is that a user could choose
to post a sensitive file such as /root/.kube/config or
/var/lib/rancher/management-state/cred/kubeconfig-system.yaml.
- A content spoofing vulnerability exists in the login component, where the errorMsg parameter
can be tampered to display arbitrary content, filtering tags but not special
characters or symbols. There's no other limitation of the message.");
script_tag(name:"impact", value:"Successful exploitation would allow an attacker to gain admin access.
It might allow malicious users to lure legitimate users to visit phishing sites - for example with scare tactics.");
script_tag(name:"affected", value:"Rancher through version 2.2.3.");
script_tag(name:"solution", value:"Update to version 2.2.4.");
script_xref(name:"URL", value:"https://forums.rancher.com/t/rancher-release-v2-2-4-addresses-rancher-cve-2019-12274-and-cve-2019-12303/14466");
script_xref(name:"URL", value:"https://github.com/MauroEldritch/VanCleef");
script_xref(name:"URL", value:"https://github.com/rancher/rancher/issues/20216");
exit(0);
}
CPE = "cpe:/a:rancher:rancher";
include( "host_details.inc" );
include( "version_func.inc" );
if( ! port = get_app_port( cpe: CPE ) ) exit( 0 );
if( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) ) exit( 0 );
version = infos["version"];
location = infos["location"];
if( version_is_less( version: version, test_version: "2.2.4" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "2.2.4", install_path: location );
security_message( data: report, port: port );
exit( 0 );
}
exit( 99 );
{"id": "OPENVAS:1361412562310113038", "type": "openvas", "bulletinFamily": "scanner", "title": "Rancher < 2.2.4 Multiple Vulnerabilities", "description": "Rancher is prone to multiple vulnerabilities.", "published": "2019-06-11T00:00:00", "modified": "2019-10-07T00:00:00", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}, "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310113038", "reporter": "Copyright (C) 2019 Greenbone Networks GmbH", "references": ["https://github.com/rancher/rancher/issues/20216", "https://forums.rancher.com/t/rancher-release-v2-2-4-addresses-rancher-cve-2019-12274-and-cve-2019-12303/14466", "https://github.com/MauroEldritch/VanCleef"], "cvelist": ["CVE-2019-11881", "CVE-2019-12274", "CVE-2019-12303"], "lastseen": "2019-10-09T14:42:07", "viewCount": 61, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2019-12274", "CVE-2019-11881", "CVE-2019-12303"]}, {"type": "nessus", "idList": ["RANCHER_CVE-2019-12274.NASL", "RANCHER_CVE-2019-12303.NASL", "RANCHER_2_1_4.NASL"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310113408"]}], "modified": "2019-10-09T14:42:07", "rev": 2}, "score": {"value": 6.4, "vector": "NONE", "modified": "2019-10-09T14:42:07", "rev": 2}, "vulnersScore": 6.4}, "pluginID": "1361412562310113038", "sourceData": "# Copyright (C) 2019 Greenbone Networks GmbH\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (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\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.113038\");\n script_version(\"2019-10-07T14:34:48+0000\");\n script_tag(name:\"last_modification\", value:\"2019-10-07 14:34:48 +0000 (Mon, 07 Oct 2019)\");\n script_tag(name:\"creation_date\", value:\"2019-06-11 14:44:30 +0000 (Tue, 11 Jun 2019)\");\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_tag(name:\"qod_type\", value:\"remote_banner\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n script_cve_id(\"CVE-2019-12274\", \"CVE-2019-11881\");\n\n script_name(\"Rancher < 2.2.4 Multiple Vulnerabilities\");\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (C) 2019 Greenbone Networks GmbH\");\n script_family(\"Privilege escalation\");\n script_dependencies(\"gb_rancher_detect.nasl\");\n script_mandatory_keys(\"rancher/detected\");\n\n script_tag(name:\"summary\", value:\"Rancher is prone to multiple vulnerabilities.\");\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n script_tag(name:\"insight\", value:\"The following vulnerabilities exist:\n\n - Unprivileged users (if allowed to deploy nodes) can gain admin access to the\n Rancher management plane because node driver options intentionally allow\n posting certain data to the cloud. The problem is that a user could choose\n to post a sensitive file such as /root/.kube/config or\n /var/lib/rancher/management-state/cred/kubeconfig-system.yaml.\n\n - A content spoofing vulnerability exists in the login component, where the errorMsg parameter\n can be tampered to display arbitrary content, filtering tags but not special\n characters or symbols. There's no other limitation of the message.\");\n script_tag(name:\"impact\", value:\"Successful exploitation would allow an attacker to gain admin access.\n It might allow malicious users to lure legitimate users to visit phishing sites - for example with scare tactics.\");\n script_tag(name:\"affected\", value:\"Rancher through version 2.2.3.\");\n script_tag(name:\"solution\", value:\"Update to version 2.2.4.\");\n\n script_xref(name:\"URL\", value:\"https://forums.rancher.com/t/rancher-release-v2-2-4-addresses-rancher-cve-2019-12274-and-cve-2019-12303/14466\");\n script_xref(name:\"URL\", value:\"https://github.com/MauroEldritch/VanCleef\");\n script_xref(name:\"URL\", value:\"https://github.com/rancher/rancher/issues/20216\");\n\n exit(0);\n}\n\nCPE = \"cpe:/a:rancher:rancher\";\n\ninclude( \"host_details.inc\" );\ninclude( \"version_func.inc\" );\n\nif( ! port = get_app_port( cpe: CPE ) ) exit( 0 );\nif( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) ) exit( 0 );\nversion = infos[\"version\"];\nlocation = infos[\"location\"];\n\nif( version_is_less( version: version, test_version: \"2.2.4\" ) ) {\n report = report_fixed_ver( installed_version: version, fixed_version: \"2.2.4\", install_path: location );\n security_message( data: report, port: port );\n exit( 0 );\n}\n\nexit( 99 );\n", "naslFamily": "Privilege escalation"}
{"cve": [{"lastseen": "2020-10-03T13:38:40", "description": "A vulnerability exists in Rancher 2.1.4 in the login component, where the errorMsg parameter can be tampered to display arbitrary content, filtering tags but not special characters or symbols. There's no other limitation of the message, allowing malicious users to lure legitimate users to visit phishing sites with scare tactics, e.g., displaying a \"This version of Rancher is outdated, please visit https://malicious.rancher.site/upgrading\" message.", "edition": 4, "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 4.7, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.0"}, "impactScore": 1.4}, "published": "2019-06-10T20:29:00", "title": "CVE-2019-11881", "type": "cve", "cwe": ["NVD-CWE-noinfo"], "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"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2019-11881"], "modified": "2020-08-24T17:37:00", "cpe": ["cpe:/a:rancher:rancher:2.1.4"], "id": "CVE-2019-11881", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-11881", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cpe23": ["cpe:2.3:a:rancher:rancher:2.1.4:*:*:*:*:*:*:*"]}, {"lastseen": "2020-12-09T21:41:41", "description": "In Rancher 1 and 2 through 2.2.3, unprivileged users (if allowed to deploy nodes) can gain admin access to the Rancher management plane because node driver options intentionally allow posting certain data to the cloud. The problem is that a user could choose to post a sensitive file such as /root/.kube/config or /var/lib/rancher/management-state/cred/kubeconfig-system.yaml.", "edition": 7, "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 8.8, "privilegesRequired": "LOW", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 5.9}, "published": "2019-06-06T16:29:00", "title": "CVE-2019-12274", "type": "cve", "cwe": ["CWE-862", "CWE-668"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "NONE", "integrityImpact": "NONE", "baseScore": 4.0, "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2019-12274"], "modified": "2020-08-24T17:37:00", "cpe": ["cpe:/a:rancher:rancher:1.6.28", "cpe:/a:rancher:rancher:2.2.3"], "id": "CVE-2019-12274", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-12274", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:P/I:N/A:N"}, "cpe23": ["cpe:2.3:a:rancher:rancher:2.2.3:*:*:*:*:*:*:*", "cpe:2.3:a:rancher:rancher:1.6.28:*:*:*:*:*:*:*"]}, {"lastseen": "2020-12-09T21:41:41", "description": "In Rancher 2 through 2.2.3, Project owners can inject additional fluentd configuration to read files or execute arbitrary commands inside the fluentd container.", "edition": 7, "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 8.8, "privilegesRequired": "LOW", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 5.9}, "published": "2019-06-06T16:29:00", "title": "CVE-2019-12303", "type": "cve", "cwe": ["CWE-74"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2019-12303"], "modified": "2020-08-24T17:37:00", "cpe": ["cpe:/a:rancher:rancher:2.2.3"], "id": "CVE-2019-12303", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-12303", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:rancher:rancher:2.2.3:*:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2019-08-15T14:39:11", "bulletinFamily": "scanner", "cvelist": ["CVE-2019-12274", "CVE-2019-12303"], "description": "Rancher is prone to a remote code execution (RCE) vulnerability.", "modified": "2019-08-14T00:00:00", "published": "2019-06-11T00:00:00", "id": "OPENVAS:1361412562310113408", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310113408", "type": "openvas", "title": "Rancher 2.x.x <= 2.2.3 RCE Vulnerability", "sourceData": "# Copyright (C) 2019 Greenbone Networks GmbH\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (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\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.113408\");\n script_version(\"2019-08-14T12:29:28+0000\");\n script_tag(name:\"last_modification\", value:\"2019-08-14 12:29:28 +0000 (Wed, 14 Aug 2019)\");\n script_tag(name:\"creation_date\", value:\"2019-06-11 14:51:31 +0000 (Tue, 11 Jun 2019)\");\n script_tag(name:\"cvss_base\", value:\"6.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:S/C:P/I:P/A:P\");\n\n script_tag(name:\"qod_type\", value:\"remote_banner\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n script_cve_id(\"CVE-2019-12303\");\n\n script_name(\"Rancher 2.x.x <= 2.2.3 RCE Vulnerability\");\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (C) 2019 Greenbone Networks GmbH\");\n script_family(\"Web application abuses\");\n script_dependencies(\"gb_rancher_detect.nasl\");\n script_mandatory_keys(\"rancher/detected\");\n\n script_tag(name:\"summary\", value:\"Rancher is prone to a remote code execution (RCE) vulnerability.\");\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n script_tag(name:\"insight\", value:\"Project owners can inject additional fluentd configuration to read files or\n execute arbitrary commands inside the fluentd container.\");\n script_tag(name:\"impact\", value:\"Successful exploitation would allow an attacker to execute arbitrary code\n on the target machine.\");\n script_tag(name:\"affected\", value:\"Rancher versions 2.0.0 through 2.2.3.\");\n script_tag(name:\"solution\", value:\"Update to version 2.2.4.\");\n\n script_xref(name:\"URL\", value:\"https://forums.rancher.com/t/rancher-release-v2-2-4-addresses-rancher-cve-2019-12274-and-cve-2019-12303/14466\");\n\n exit(0);\n}\n\nCPE = \"cpe:/a:rancher:rancher\";\n\ninclude( \"host_details.inc\" );\ninclude( \"version_func.inc\" );\n\nif( ! port = get_app_port( cpe: CPE ) ) exit( 0 );\nif( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) ) exit( 0 );\nversion = infos[\"version\"];\nlocation = infos[\"location\"];\n\nif( version_in_range( version: version, test_version: \"2.0.0\", test_version2: \"2.2.3\" ) ) {\n report = report_fixed_ver( installed_version: version, fixed_version: \"2.2.4\", install_path: location );\n security_message( data: report, port: port );\n exit( 0 );\n}\n\nexit( 99 );\n", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}}], "nessus": [{"lastseen": "2020-09-14T17:37:28", "description": "In Rancher 2 through 2.2.3, Project owners can inject additional fluentd configuration to read files or execute \narbitrary commands inside the fluentd container.\n\nNote that Nessus has not tested for this issue but has instead relied only on the application's self-reported version \nnumber.", "edition": 13, "cvss3": {"score": 8.8, "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}, "published": "2019-08-22T00:00:00", "title": "Rancher 2.0.x < 2.0.15 / 2.1.x < 2.1.10 / 2.2.x < 2.2.4 Command Injection", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2019-12274", "CVE-2019-12303"], "modified": "2019-08-22T00:00:00", "cpe": ["x-cpe:/a:rancher_labs:rancher"], "id": "RANCHER_CVE-2019-12303.NASL", "href": "https://www.tenable.com/plugins/nessus/128057", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(128057);\n script_version(\"1.3\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/08/19\");\n\n script_cve_id(\"CVE-2019-12303\");\n\n script_name(english:\"Rancher 2.0.x < 2.0.15 / 2.1.x < 2.1.10 / 2.2.x < 2.2.4 Command Injection\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"A Docker container of Rancher installed on the remote host is missing a security patch.\");\n script_set_attribute(attribute:\"description\", value:\n\"In Rancher 2 through 2.2.3, Project owners can inject additional fluentd configuration to read files or execute \narbitrary commands inside the fluentd container.\n\nNote that Nessus has not tested for this issue but has instead relied only on the application's self-reported version \nnumber.\");\n # https://forums.rancher.com/t/rancher-release-v2-2-4-addresses-rancher-cve-2019-12274-and-cve-2019-12303/14466\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?76c65d4b\");\n # https://github.com/rancher/rancher/releases/tag/v2.2.4\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?972b6c60\");\n # https://github.com/rancher/rancher/releases/tag/v2.1.10\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?48cf906b\");\n # https://github.com/rancher/rancher/releases/tag/v2.0.15\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?3693a71b\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to version 2.0.15 / 2.1.10 / 2.2.4 or later.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2019-12303\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2019/06/05\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/06/05\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/08/22\");\n\n script_set_attribute(attribute:\"potential_vulnerability\", value:\"true\");\n script_set_attribute(attribute:\"plugin_type\", value:\"combined\");\n script_set_attribute(attribute:\"cpe\", value:\"x-cpe:/a:rancher_labs:rancher\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Misc.\");\n\n script_copyright(english:\"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"rancher_local_detection.nbin\", \"rancher_web_ui_detect.nbin\");\n script_require_keys(\"installed_sw/Rancher\", \"Settings/ParanoidReport\");\n\n exit(0);\n}\n\ninclude('vcf.inc');\ninclude('vcf_extras.inc');\n\napp = 'Rancher';\n\nget_install_count(app_name:app, exit_if_zero:TRUE);\napp_info = vcf::combined_get_app_info(app:app);\n\nif (report_paranoia < 2) audit(AUDIT_PARANOID);\n\nconstraints = [\n {'min_version' : '2.0.0', 'fixed_version' : '2.0.15'},\n {'min_version' : '2.1.0', 'fixed_version' : '2.1.10'},\n {'min_version' : '2.2.0', 'fixed_version' : '2.2.4'}\n];\n\nvcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);\n", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}}, {"lastseen": "2020-09-14T17:37:28", "description": "In Rancher 1 and 2 through 2.2.3, unprivileged users (if allowed to deploy nodes) can gain admin access to the \nRancher management plane because node driver options intentionally allow posting certain data to the cloud. The \nproblem is that a user could choose to post a sensitive file such as /root/.kube/config or \n/var/lib/rancher/management-state/cred/kubeconfig-system.yaml.\n\nNote that Nessus has not tested for this issue but has instead relied only on the application's self-reported version \nnumber.", "edition": 13, "cvss3": {"score": 8.8, "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}, "published": "2019-08-22T00:00:00", "title": "RancherOS 1.6.x < 1.6.28 / 2.0.x < 2.0.15 / 2.1.x < 2.1.10 / 2.2.x < 2.2.4 Arbitrary File Read", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2019-12274", "CVE-2019-12303"], "modified": "2019-08-22T00:00:00", "cpe": ["x-cpe:/a:rancher_labs:rancher"], "id": "RANCHER_CVE-2019-12274.NASL", "href": "https://www.tenable.com/plugins/nessus/128056", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(128056);\n script_version(\"1.3\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/08/19\");\n\n script_cve_id(\"CVE-2019-12274\");\n\n script_name(english:\"RancherOS 1.6.x < 1.6.28 / 2.0.x < 2.0.15 / 2.1.x < 2.1.10 / 2.2.x < 2.2.4 Arbitrary File Read\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"A Docker container of Rancher installed on the remote host is missing a security patch.\");\n script_set_attribute(attribute:\"description\", value:\n\"In Rancher 1 and 2 through 2.2.3, unprivileged users (if allowed to deploy nodes) can gain admin access to the \nRancher management plane because node driver options intentionally allow posting certain data to the cloud. The \nproblem is that a user could choose to post a sensitive file such as /root/.kube/config or \n/var/lib/rancher/management-state/cred/kubeconfig-system.yaml.\n\nNote that Nessus has not tested for this issue but has instead relied only on the application's self-reported version \nnumber.\");\n # https://forums.rancher.com/t/rancher-release-v2-2-4-addresses-rancher-cve-2019-12274-and-cve-2019-12303/14466\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?76c65d4b\");\n # https://github.com/rancher/rancher/releases/tag/v2.2.4\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?972b6c60\");\n # https://github.com/rancher/rancher/releases/tag/v2.1.10\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?48cf906b\");\n # https://github.com/rancher/rancher/releases/tag/v2.0.15\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?3693a71b\");\n # https://github.com/rancher/rancher/releases/tag/v1.6.28\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?f2d277a3\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to version 1.6.28 / 2.0.15 / 2.1.10 / 2.2.4 or later.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2019-12274\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2019/06/05\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/06/05\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/08/22\");\n\n script_set_attribute(attribute:\"potential_vulnerability\", value:\"true\");\n script_set_attribute(attribute:\"plugin_type\", value:\"combined\");\n script_set_attribute(attribute:\"cpe\", value:\"x-cpe:/a:rancher_labs:rancher\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Misc.\");\n\n script_copyright(english:\"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"rancher_local_detection.nbin\", \"rancher_web_ui_detect.nbin\");\n script_require_keys(\"installed_sw/Rancher\", \"Settings/ParanoidReport\");\n\n exit(0);\n}\n\ninclude('vcf.inc');\ninclude('vcf_extras.inc');\n\napp = 'Rancher';\n\nget_install_count(app_name:app, exit_if_zero:TRUE);\napp_info = vcf::combined_get_app_info(app:app);\n\nif (report_paranoia < 2) audit(AUDIT_PARANOID);\n\nconstraints = [\n {'min_version' : '1.6.0', 'fixed_version' : '1.6.28'},\n {'min_version' : '2.0.0', 'fixed_version' : '2.0.15'},\n {'min_version' : '2.1.0', 'fixed_version' : '2.1.10'},\n {'min_version' : '2.2.0', 'fixed_version' : '2.2.4'}\n];\n\nvcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);\n", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:P/I:N/A:N"}}, {"lastseen": "2020-09-14T17:37:28", "description": "The version of a Docker container of Rancher is < 2.2.4 and, thus, is affected by web parameter tampering vulnerability.\nA vulnerability exists in the login component, where the errorMsg parameter can be tampered to display arbitrary \ncontent, filtering tags but not special characters or symbols. There's no other limitation of the message, allowing \nmalicious users to lure legitimate users to visit phishing sites with scare tactics, e.g., displaying a 'This version \nof Rancher is outdated, please visit https://malicious.rancher.site/upgrading)' message.\n\nNote that Nessus has not tested for this issue but has instead relied\nonly on the application's self-reported version number.", "edition": 13, "cvss3": {"score": 4.7, "vector": "AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"}, "published": "2019-06-14T00:00:00", "title": "Rancher < 2.2.4 Web Parameter Tampering", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2019-11881"], "modified": "2019-06-14T00:00:00", "cpe": ["x-cpe:/a:rancher_labs:rancher"], "id": "RANCHER_2_1_4.NASL", "href": "https://www.tenable.com/plugins/nessus/125879", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(125879);\n script_version(\"1.3\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/08/19\");\n\n script_cve_id(\"CVE-2019-11881\");\n\n script_name(english:\"Rancher < 2.2.4 Web Parameter Tampering\");\n script_summary(english:\"Checks version of Rancher.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"A Docker container of Rancher installed on the remote host is\nmissing a security patch.\");\n script_set_attribute(attribute:\"description\", value:\n\"The version of a Docker container of Rancher is < 2.2.4 and, thus, is affected by web parameter tampering vulnerability.\nA vulnerability exists in the login component, where the errorMsg parameter can be tampered to display arbitrary \ncontent, filtering tags but not special characters or symbols. There's no other limitation of the message, allowing \nmalicious users to lure legitimate users to visit phishing sites with scare tactics, e.g., displaying a 'This version \nof Rancher is outdated, please visit https://malicious.rancher.site/upgrading)' message.\n\nNote that Nessus has not tested for this issue but has instead relied\nonly on the application's self-reported version number.\");\n # https://github.com/rancher/rancher/issues/20216\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?c7c2e216\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to version 2.2.4 or later.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2019-11881\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2019/05/14\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/06/05\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/06/14\");\n\n script_set_attribute(attribute:\"potential_vulnerability\", value:\"true\");\n script_set_attribute(attribute:\"plugin_type\", value:\"combined\");\n script_set_attribute(attribute:\"cpe\", value:\"x-cpe:/a:rancher_labs:rancher\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Misc.\");\n\n script_copyright(english:\"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"rancher_local_detection.nbin\", \"rancher_web_ui_detect.nbin\");\n script_require_keys(\"installed_sw/Rancher\", \"Settings/ParanoidReport\");\n\n exit(0);\n}\n\ninclude('vcf.inc');\ninclude('vcf_extras.inc');\n\napp = 'Rancher';\n\nget_install_count(app_name:app, exit_if_zero:TRUE);\napp_info = vcf::combined_get_app_info(app:app);\n\nif (report_paranoia < 2) audit(AUDIT_PARANOID);\n\nconstraints = [\n {'fixed_version' : '2.2.4'}\n];\n\nvcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}]}