Monday, May 29, 2023
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Podcasts
  • Web Hosting Directory
  • Login
  • Register
Cloud7
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Software
    • Network/Internet
    • Hardware
    • Artificial Intelligence
    • Windows
    • Policy/Legislation
    • Blockchain
    • Troubleshooting
    • How-Tos
    • Articles
No Result
View All Result
Cloud7
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Software
    • Network/Internet
    • Hardware
    • Artificial Intelligence
    • Windows
    • Policy/Legislation
    • Blockchain
    • Troubleshooting
    • How-Tos
    • Articles
No Result
View All Result
Cloud7
No Result
View All Result

Home > Linux > Linux netfilter firewall has a security hole

Linux netfilter firewall has a security hole

Sophos threat researchers have found a new security hole in the Linux netfilter firewall program.


Rusen Gobel Rusen Gobel
March 16, 2022
2 min read
Linux netfilter firewall has a security hole

The security company Sophos has found a new security hole in the Linux netfilter firewall program, which is used for controlling two-way access for the Linux network stack. Linux netfilter is related to nftables, firewalld, and ufw; which makes it a crucial component to be safe.

From 5.4 to 5.6.10

The vulnerability affects the Linux kernel versions from 5.4 to 5.6.10 and it can be tracked with CVE-2022-25636, with a CVSS score of 7.8. A Red Hat advisory regarding the bug summarizes the possible risk as “This flaw allows a local attacker with a user account on the system to gain access to out-of-bounds memory, leading to a system crash or a privilege escalation threat”.

The security hole is discovered by Nick Gregory from Sophos while investigating possible vulnerabilities in the netfilter. It is a heap out-of-bounds write flaw with the kernel’s netfilter. The flaw is exploitable to achieve kernel code execution via ROP to give full local privilege escalation, container escape, and more. Gregory states that while he was checking nf_dup_netdev.c file, he noticed the following code in line 67:

entry = &flow->rule->action.entries[ctx->num_actions++];

Following a series of questions like the determining factor of action.entries array, how the nft_fwd_dup_netdev_offload called, how many times it is called, and how/when ctx is called, and some more effort in tracing, he noticed that there is indeed a bug in the code. Then he managed to exploit it although the success rate of the exploitations sat at about 30% all the time.

A security patch is expected for all of the Linux distributions affected soon. To mitigate the possible outcomes of the bug, you can use the following commands:

Mitigation for Red Hat Enterprise Linux

echo 0 > /proc/sys/user/max_user_namespaces
sudo sysctl --system

Mitigation for Debian and Ubuntu-based distributions

sudo sysctl kernel.unprivileged_userns_clone=0

You can read the full documentation by using the following link:

Click here to read Nick Gregory’s whitepaper

See more Linux News

A comprehensive guide to understanding Linux: What is Linux?


Tags: FirewallLinux KernelRHEL (Red Hat Enterprise Linux)Sophos
Rusen Gobel

Rusen Gobel

Rusen Gobel is the managing editor of Cloud7. With more than 10 years of experience, Rusen worked as a hardware and software news editor for technology sites such as ShiftDelete, Teknokulis, Hardware Plus, BT Haber. In addition, Rusen publishes consumer product reviews on his YouTube channel. While consumer electronics has been his main focus for years, now Rusen is more interested in WordPress and software development. He had contributed different web application projects in his professional career. Rusen had graduated from Istanbul University, department of Computer Engineering. Rusen has a very high passion for learning and writing for every kind of technology. That's why he has been working as a tech editor for more than ten years on several different technology magazines and online news portals.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Next Post

SentinelOne to acquire Attivo Networks

Related News

Best file managers for Linux

Best file managers for Linux

May 12, 2023 5:30 pm
EuroLinux 9.2 is now available for download

EuroLinux 9.2 is now available for download

May 12, 2023 5:00 pm
Alpine Linux 3.18.0 ready to download

Alpine Linux 3.18.0 ready to download

May 11, 2023 4:30 pm
Red Hat Enterprise Linux 9.2 ready to download

Red Hat Enterprise Linux 9.2 ready to download

May 11, 2023 4:00 pm
Get free daily newsletters from Cloud7 Get the Cloud7 Newsletter
Select list(s):

Check your inbox or spam folder to confirm your subscription.

By subscribing, you agree to our
Copyright Policy and Privacy Policy

Editor's Choice

10 best web hosting services

7 best shared hosting service providers

7 best Linux distros for beginners

7 best Linux distros for gaming

7 best cloud storage services for business

7 best Linux desktop environments

Farewell and gratitude: The journey ends for Cloud7

Get the free newsletter

Subscribe to receive the latest IT business updates straight to your inbox.

Select list(s):

Check your inbox or spam folder to confirm your subscription.

Recent News

  • Farewell and gratitude: The journey ends for Cloud7
  • Gcore Partners with Pienso
  • LibreOffice 7.4.7 is now available for download
  • AI-powered automatic time tracking (Podcast #20 w/ Catalina Butnaru)
  • Best file managers for Linux
  • EuroLinux 9.2 is now available for download
  • X3D, or not X3D, that is the question

Cloud7 News
Cloud7 is a news source that publishes the latest news, reviews, comparisons, opinions, and exclusive interviews to help tech users of high-experience levels in the IT industry.

EXPLORE

  • Web Hosting
  • Cloud Computing
  • Data Center
  • Cybersecurity
  • Linux
  • Network/Internet
  • Software
  • Hardware
  • Artificial Intelligence
  • How-Tos
  • Troubleshooting

RESOURCES

  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Podcasts
  • Web Hosting Directory

Get the Cloud7 Newsletter

Get FREE daily newsletters from Cloud7 delivering the latest news and reviews.

  • About Us
  • Privacy & Policy
  • Copyright Policy
  • Contact Us

© 2023, Cloud7. All rights reserved.

No Result
View All Result
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Software
    • Network/Internet
    • Hardware
    • Artificial Intelligence
    • Windows
    • Policy/Legislation
    • Blockchain
    • Troubleshooting
    • How-Tos
    • Articles
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Podcasts
  • Web Hosting Directory

© 2023, Cloud7. All rights reserved.

Welcome Back!

Sign In with Facebook
Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Sign Up with Facebook
Sign Up with Google
Sign Up with Linked In
OR

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.