CVE-2023-48705
"Nautobot Cross-Site Scripting Vulnerability"
Description
Nautobot is a Network Source of Truth and Network Automation Platform built as a web application All users of Nautobot versions earlier than 1.6.6 or 2.0.5 are potentially affected by a cross-site scripting vulnerability. Due to incorrect usage of Django's `mark_safe()` API when rendering certain types of user-authored content; including custom links, job buttons, and computed fields; it is possible that users with permission to create or edit these types of content could craft a malicious payload (such as JavaScript code) that would be executed when rendering pages containing this content. The maintainers have fixed the incorrect uses of `mark_safe()` (generally by replacing them with appropriate use of `format_html()` instead) to prevent such malicious data from being executed. Users on Nautobot 1.6.x LTM should upgrade to v1.6.6 and users on Nautobot 2.0.x should upgrade to v2.0.5. Appropriate object permissions can and should be applied to restrict which users are permitted to create or edit the aforementioned types of user-authored content. Other than that, there is no direct workaround available.
INFO
Published Date :
Nov. 22, 2023, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 8:32 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.3
Exploitability Score :
1.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-48705
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-48705
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-48705
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.html.format_html Added Reference https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.safestring.mark_safe Added Reference https://github.com/nautobot/nautobot/commit/362850f5a94689a4c75e3188bf6de826c3b012b2 Added Reference https://github.com/nautobot/nautobot/commit/54abe23331b6c3d0d82bf1b028c679b1d200920d Added Reference https://github.com/nautobot/nautobot/pull/4832 Added Reference https://github.com/nautobot/nautobot/pull/4833 Added Reference https://github.com/nautobot/nautobot/security/advisories/GHSA-cf9f-wmhp-v4pr -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Nov. 29, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.html.format_html No Types Assigned https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.html.format_html Technical Description Changed Reference Type https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.safestring.mark_safe No Types Assigned https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.safestring.mark_safe Technical Description Changed Reference Type https://github.com/nautobot/nautobot/commit/362850f5a94689a4c75e3188bf6de826c3b012b2 No Types Assigned https://github.com/nautobot/nautobot/commit/362850f5a94689a4c75e3188bf6de826c3b012b2 Patch Changed Reference Type https://github.com/nautobot/nautobot/commit/54abe23331b6c3d0d82bf1b028c679b1d200920d No Types Assigned https://github.com/nautobot/nautobot/commit/54abe23331b6c3d0d82bf1b028c679b1d200920d Patch Changed Reference Type https://github.com/nautobot/nautobot/pull/4832 No Types Assigned https://github.com/nautobot/nautobot/pull/4832 Issue Tracking, Patch Changed Reference Type https://github.com/nautobot/nautobot/pull/4833 No Types Assigned https://github.com/nautobot/nautobot/pull/4833 Issue Tracking, Patch Changed Reference Type https://github.com/nautobot/nautobot/security/advisories/GHSA-cf9f-wmhp-v4pr No Types Assigned https://github.com/nautobot/nautobot/security/advisories/GHSA-cf9f-wmhp-v4pr Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* versions up to (excluding) 1.6.6 *cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.5 -
CVE Received by [email protected]
Nov. 22, 2023
Action Type Old Value New Value Added Description Nautobot is a Network Source of Truth and Network Automation Platform built as a web application All users of Nautobot versions earlier than 1.6.6 or 2.0.5 are potentially affected by a cross-site scripting vulnerability. Due to incorrect usage of Django's `mark_safe()` API when rendering certain types of user-authored content; including custom links, job buttons, and computed fields; it is possible that users with permission to create or edit these types of content could craft a malicious payload (such as JavaScript code) that would be executed when rendering pages containing this content. The maintainers have fixed the incorrect uses of `mark_safe()` (generally by replacing them with appropriate use of `format_html()` instead) to prevent such malicious data from being executed. Users on Nautobot 1.6.x LTM should upgrade to v1.6.6 and users on Nautobot 2.0.x should upgrade to v2.0.5. Appropriate object permissions can and should be applied to restrict which users are permitted to create or edit the aforementioned types of user-authored content. Other than that, there is no direct workaround available. Added Reference GitHub, Inc. https://github.com/nautobot/nautobot/security/advisories/GHSA-cf9f-wmhp-v4pr [No types assigned] Added Reference GitHub, Inc. https://github.com/nautobot/nautobot/pull/4832 [No types assigned] Added Reference GitHub, Inc. https://github.com/nautobot/nautobot/pull/4833 [No types assigned] Added Reference GitHub, Inc. https://github.com/nautobot/nautobot/commit/362850f5a94689a4c75e3188bf6de826c3b012b2 [No types assigned] Added Reference GitHub, Inc. https://github.com/nautobot/nautobot/commit/54abe23331b6c3d0d82bf1b028c679b1d200920d [No types assigned] Added Reference GitHub, Inc. https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.html.format_html [No types assigned] Added Reference GitHub, Inc. https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.safestring.mark_safe [No types assigned] Added CWE GitHub, Inc. CWE-79 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-48705
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-48705
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.30 }} -0.42%
score
0.52220
percentile