7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
5.2 Medium
AI Score
Confidence
Low
0.009 Low
EPSS
Percentile
82.4%
LimeSurvey 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.114131");
script_version("2021-09-20T13:38:59+0000");
script_tag(name:"last_modification", value:"2021-09-20 13:38:59 +0000 (Mon, 20 Sep 2021)");
script_tag(name:"creation_date", value:"2019-09-16 14:58:36 +0200 (Mon, 16 Sep 2019)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2020-08-24 17:37:00 +0000 (Mon, 24 Aug 2020)");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_cve_id("CVE-2019-16172", "CVE-2019-16173", "CVE-2019-16178", "CVE-2019-16182",
"CVE-2019-16174", "CVE-2019-16176", "CVE-2019-16175", "CVE-2019-16177",
"CVE-2019-16179", "CVE-2019-16180", "CVE-2019-16184", "CVE-2019-16187",
"CVE-2019-16181", "CVE-2019-16183", "CVE-2019-16185", "CVE-2019-16186");
script_name("LimeSurvey < 3.17.14 Multiple Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("secpod_limesurvey_detect.nasl");
script_mandatory_keys("limesurvey/installed");
script_tag(name:"summary", value:"LimeSurvey is prone to multiple vulnerabilities.");
script_tag(name:"insight", value:"The following vulnerabilities exist:
- Stored XSS for escalating privileges from a low-privileged account to, for example, SuperAdmin. The
attack uses a survey group in which the title contains JavaScript that is mishandled upon group deletion. (CVE-2019-16172)
- Reflected XSS for escalating privileges. This occurs in application/core/Survey_Common_Action.php. (CVE-2019-16173)
- Stored XSS that allows authenticated users with correct permissions to inject arbitrary web script
or HTML via titles of admin box buttons on the home page. (CVE-2019-16178)
- Reflected XSS that allows remote attackers to inject arbitrary web script or HTML via extensions
of uploaded files. (CVE-2019-16182)
- Admin users can mark other users' notifications as read. (CVE-2019-16181)
- Admin users can run an integrity check without proper permissions. (CVE-2019-16183)
- Admin users can view, update, or delete reserved menu entries without proper permissions. (CVE-2019-16185)
- Admin users can access the plugin manager without proper permissions. (CVE-2019-16186)
- An XML injection vulnerability that allows remote attackers to import specially crafted
XML files and execute code or compromise data integrity. (CVE-2019-16174)
- A path disclosure vulnerability that allows a remote attacker to discover the path to
the application in the filesystem. (CVE-2019-16176)
- A clickjacking vulnerability related to X-Frame-Options SAMEORIGIN not being set by default. (CVE-2019-16175)
- The database backup uses browser cache, which exposes it entirely. (CVE-2019-16177)
- The default configuration does not enforce SSL/TLS usage. (CVE-2019-16179)
- A vulnerability that allows remote attackers to bruteforce the login form and enumerate
usernames when the LDAP authentication method is used. (CVE-2019-16180)
- A CSV injection vulnerability that allows survey participants to inject commands via their
survey responses that will be included in the export CSV file. (CVE-2019-16184)
- A vulnerability related to the use of an anti-CSRF cookie without the HttpOnly flag, which
allows attackers to access a cookie value via a client-side script. (CVE-2019-16187)");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"affected", value:"LimeSurvey before version 3.17.14.");
script_tag(name:"solution", value:"Update to version 3.17.14 or later.");
script_xref(name:"URL", value:"https://github.com/LimeSurvey/LimeSurvey/blob/115256d4733d7241ec01a3d6dbff04df80ed1d31/docs/release_notes.txt#L49");
exit(0);
}
CPE = "cpe:/a:limesurvey:limesurvey";
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'];
path = infos['location'];
if(version_is_less(version: version, test_version: "3.17.14")) {
report = report_fixed_ver(installed_version: version, fixed_version: "3.17.14", install_path: path);
security_message(data: report, port: port);
exit(0);
}
exit(99);
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
5.2 Medium
AI Score
Confidence
Low
0.009 Low
EPSS
Percentile
82.4%