Linux Kernel up to 5.3.2 AF_NFC Network net/nfc/llcp_sock.c llcp_sock_create default permission

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 5.3.2. It has been classified as critical. Affected by this vulnerability is the function llcp_sock_create of the file net/nfc/llcp_sock.c of the component AF_NFC Network Module. Performing a manipulation results in default permission.
This vulnerability is identified as CVE-2019-17056. The attack is only possible with local access. There is not any exploit available.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in Linux Kernel up to 5.3.2 (Operating System). It has been classified as critical. This affects the function llcp_sock_create of the file net/nfc/llcp_sock.c of the component AF_NFC Network Module. The manipulation with an unknown input leads to a default permission vulnerability. CWE is classifying the issue as CWE-276. During installation, installed file permissions are set to allow anyone to modify those files. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
llcp_sock_create in net/nfc/llcp_sock.c in the AF_NFC 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-3a359798b176.
The weakness was released 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 was coordinated with Linux. This vulnerability is uniquely identified as CVE-2019-17056 since 10/01/2019. Attacking locally is a requirement. The requirement for exploitation is a 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
Entries connected to this vulnerability are available at VDB-142787, VDB-142788, VDB-142789 and VDB-142790. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
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: 🔍
Physical: Partially
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-17056 (🔍)
GCVE (CVE): GCVE-0-2019-17056
GCVE (VulDB): GCVE-100-142791
See also: 🔍
Entry
Created: 10/02/2019 07:54Updated: 12/29/2023 12:17
Changes: 10/02/2019 07:54 (49), 09/18/2020 10:14 (18), 12/29/2023 12:10 (3), 12/29/2023 12:17 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.