CVE-2023-52887
Linux Kernel - J1939 CAN RTS Handling Remote Code Execution Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new This patch enhances error handling in scenarios with RTS (Request to Send) messages arriving closely. It replaces the less informative WARN_ON_ONCE backtraces with a new error handling method. This provides clearer error messages and allows for the early termination of problematic sessions. Previously, sessions were only released at the end of j1939_xtp_rx_rts(). Potentially this could be reproduced with something like: testj1939 -r vcan0:0x80 & while true; do # send first RTS cansend vcan0 18EC8090#1014000303002301; # send second RTS cansend vcan0 18EC8090#1014000303002301; # send abort cansend vcan0 18EC8090#ff00000000002301; done
INFO
Published Date :
July 29, 2024, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 8:40 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
Public PoC/Exploit Available at Github
CVE-2023-52887 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-52887
.
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).
None
Python
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-52887
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52887
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://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed Added Reference https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea Added Reference https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4 Added Reference https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2 Added Reference https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb Added Reference https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9 Added Reference https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 29, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new This patch enhances error handling in scenarios with RTS (Request to Send) messages arriving closely. It replaces the less informative WARN_ON_ONCE backtraces with a new error handling method. This provides clearer error messages and allows for the early termination of problematic sessions. Previously, sessions were only released at the end of j1939_xtp_rx_rts(). Potentially this could be reproduced with something like: testj1939 -r vcan0:0x80 & while true; do # send first RTS cansend vcan0 18EC8090#1014000303002301; # send second RTS cansend vcan0 18EC8090#1014000303002301; # send abort cansend vcan0 18EC8090#ff00000000002301; done Added Reference kernel.org https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb [No types assigned]
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-52887
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-52887
weaknesses.