Linux Kernel up to 5.3.2 AF_AX25 Network Module net/ax25/af_ax25.c ax25_create default permission
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.2 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, has been found in Linux Kernel up to 5.3.2 (Operating System). This issue affects the function ax25_create
of the file net/ax25/af_ax25.c of the component AF_AX25 Network Module. The manipulation with an unknown input leads to a default permission vulnerability. Using CWE to declare the problem leads to CWE-276. During installation, installed file permissions are set to allow anyone to modify those files. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
ax25_create in net/ax25/af_ax25.c in the AF_AX25 network module in the Linux kernel through 5.3.2 does not enforce CAP_NET_RAW, which means that unprivileged users can create a raw socket, aka CID-0614e2b73768.
The weakness was disclosed 10/01/2019 by Ori Nimron as confirmed git commit (GIT Repository). It is possible to read the advisory at git.kernel.org. The public release has been coordinated in cooperation with Linux. The identification of this vulnerability is CVE-2019-17052 since 10/01/2019. Attacking locally is a requirement. The successful exploitation needs a simple authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1222 according to MITRE ATT&CK. The advisory points out:
Ori Nimron pointed out that there are a number of places in the kernel where you can create a raw socket, without having to have the CAP_NET_RAW permission.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The vulnerability will be addressed with the following lines of code:
if (!capable(CAP_NET_RAW)) return -EPERM;The git commit contains the following remark:
To resolve this, here's a short patch series to test these odd and old protocols for this permission before allowing the creation to succeed
The entries 142788, 142789, 142790 and 142791 are pretty similar.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 3.3
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Default permissionCWE: CWE-276 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: git.kernel.org
Timeline
10/01/2019 🔍10/01/2019 🔍
10/02/2019 🔍
12/29/2023 🔍
Sources
Vendor: kernel.orgAdvisory: 155212
Researcher: Ori Nimron
Status: Confirmed
Coordinated: 🔍
CVE: CVE-2019-17052 (🔍)
See also: 🔍
Entry
Created: 10/02/2019 07:50Updated: 12/29/2023 11:25
Changes: 10/02/2019 07:50 (49), 09/18/2020 09:53 (18), 12/29/2023 11:18 (3), 12/29/2023 11:25 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.