| Reporter | Title | Published | Views | Family All 96 |
|---|---|---|---|---|
| Traceroute 2.1.2 Privilege Escalation Vulnerability | 22 Jan 202400:00 | – | zdt | |
| CVE-2023-46316 | 25 Oct 202318:17 | – | attackerkb | |
| Amazon Linux 2023 : traceroute (ALAS2023-2023-452) | 15 Dec 202300:00 | – | nessus | |
| Amazon Linux 2 : traceroute (ALAS-2024-2423) | 23 Jan 202400:00 | – | nessus | |
| Alibaba Cloud Linux 3 : 0130: traceroute (ALINUX3-SA-2024:0130) | 14 May 202500:00 | – | nessus | |
| CentOS 8 : traceroute (CESA-2024:3211) | 22 May 202400:00 | – | nessus | |
| EulerOS 2.0 SP9 : traceroute (EulerOS-SA-2023-3319) | 16 Jan 202400:00 | – | nessus | |
| EulerOS 2.0 SP9 : traceroute (EulerOS-SA-2023-3351) | 16 Jan 202400:00 | – | nessus | |
| EulerOS Virtualization 2.9.0 : traceroute (EulerOS-SA-2024-1023) | 16 Jan 202400:00 | – | nessus | |
| EulerOS Virtualization 2.9.1 : traceroute (EulerOS-SA-2024-1049) | 16 Jan 202400:00 | – | nessus |
`Description:
In Traceroute 2.0.12 through to 2.1.2 (fixed in 2.1.3), the wrapper scripts mishandle shell metacharacters, which can lead to privilege escalation if the wrapper scripts are executed via sudo. The affected wrapper scripts are: tcptraceroute, tracepath, traceproto and traceroute-nanog.
Additional infomation:
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - 7.3 (High)
A local privilege escalation was identified in wrapper scripts provided by the Traceroute for Linux package (https://sourceforge.net/projects/traceroute/). The wrapper scripts do not properly sanitise the user's input, which is taken as parameters and passed into the traceroute command. The user can inject a semicolon (;) into any of the parameters of the affected wrappers, and the wrapper will treat the text following the semicolon as a new operating system command.
The scripts require the user to have raw socket access in order to function as intended. It is common for low-privilege users to be granted sudo root permissions to run the wrapper scripts as opposed to setting "cap_net_raw" capabilities to the binary, or through the use of "icmp dgram" sockets. Thus any user on the local machine can escalate their privileges to root, with the only Attack Requirements (AT in CVSS 4) being that they have sudo root permissions to execute the vulnerable wrapper scripts.
The vulnerable wrapper scripts have been provided since version 2.0.12. Distributions such as Debian 12, Fedora 38, Centos 8 and Amazon Linux 2 include these wrapper scripts with default installations.
Exploitation:
sudo tcptraceroute localhost ";bash"
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation