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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.2$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Default permission
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: git.kernel.org

Timelineinfo

10/01/2019 🔍
10/01/2019 +0 days 🔍
10/02/2019 +1 days 🔍
12/29/2023 +1549 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: 155212
Researcher: Ori Nimron
Status: Confirmed
Coordinated: 🔍

CVE: CVE-2019-17056 (🔍)
GCVE (CVE): GCVE-0-2019-17056
GCVE (VulDB): GCVE-100-142791
See also: 🔍

Entryinfo

Created: 10/02/2019 07:54
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!