6.1 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
6.5 Medium
AI Score
Confidence
High
5.8 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:P/I:P/A:N
0.002 Low
EPSS
Percentile
52.3%
Django is prone to an open-redirection vulnerability because it fails to properly sanitize user-supplied input.
# SPDX-FileCopyrightText: 2017 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:djangoproject:django";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.107142");
script_version("2023-07-25T05:05:58+0000");
script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
script_tag(name:"creation_date", value:"2017-04-07 16:31:00 +0200 (Fri, 07 Apr 2017)");
script_cve_id("CVE-2017-7234");
script_tag(name:"cvss_base", value:"5.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2017-11-04 01:29:00 +0000 (Sat, 04 Nov 2017)");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_name("Django Open Redirection Vulnerability");
script_tag(name:"summary", value:"Django is prone to an open-redirection vulnerability because it fails to properly sanitize user-supplied input.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"impact", value:"An attacker can leverage this issue by constructing a crafted URI and enticing a user to follow it.
When an unsuspecting victim follows the link, they may be redirected to an attacker-controlled site. This may aid in phishing attacks. Other attacks are also possible.");
script_tag(name:"affected", value:"Versions prior to Django 1.10.7, 1.9.13, and 1.8.18 are vulnerable");
script_tag(name:"solution", value:"Updates are available. Please see the references or vendor advisory for more information.");
script_xref(name:"URL", value:"http://www.debian.org/security/2017/dsa-3835");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/97401");
script_xref(name:"URL", value:"https://www.djangoproject.com/weblog/2017/apr/04/security-releases/");
script_tag(name:"solution_type", value:"VendorFix");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("General");
script_dependencies("gb_django_detect_lin.nasl");
script_mandatory_keys("Django/Linux/Ver");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
Ver = get_app_version(cpe: CPE);
if(!Ver) exit(0);
if (Ver =~ "^1\.10\.")
{
if(version_is_less(version: Ver, test_version:"1.10.7"))
{
fix = "1.10.7";
VULN = TRUE;
}
}
if (Ver =~ "^1\.9\.")
{
if(version_is_less(version: Ver, test_version:"1.9.13"))
{
fix = "1.9.13";
VULN = TRUE;
}
}
if (Ver =~ "^1\.8\.")
{
if(version_is_less(version: Ver, test_version:"1.8.18"))
{
fix = "1.8.18";
VULN = TRUE;
}
}
if (VULN)
{
report = report_fixed_ver(installed_version:Ver, fixed_version:fix);
security_message(port:0, data:report);
exit(0);
}
exit(99);
6.1 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
6.5 Medium
AI Score
Confidence
High
5.8 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:P/I:P/A:N
0.002 Low
EPSS
Percentile
52.3%