Sunday, January 29, 2023
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory
  • Login
  • Register
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
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


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

Rusen Gobel

Rusen Gobel is a news editor at Cloud7 News. With more than 10 years of experience, Rusen worked as a hardware and software news editor for technology sites such as Shiftdelete, Teknokolis, 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

SentinelOne to acquire Attivo Networks

Related News

GNOME 44 Alpha is out now

GNOME 44 Alpha is out now

January 27, 2023 4:20 pm
DXVK 2.1 is now available, bringing HDR and HDR10 color space support

DXVK 2.1 is now available, bringing HDR and HDR10 color space support

January 26, 2023 5:00 pm
Freespire 9.0

Freespire 9.0 is now available for download

January 26, 2023 3:15 pm
Wine 8.0 is ready to download

Wine 8.0 is ready to download. What is new?

January 26, 2023 2:15 pm
Get free daily newsletters from Cloud7 News 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

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.

Editor's Choice

What’s new in Linux kernel 6.2 rc5?

10 Best Web Hosting Services of 2023

Ubuntu 22.04 LTS is available for download. What is new?

CERN and Fermilab recommend AlmaLinux

7 best hosting control panels of 2023

How to update Linux Kernel without rebooting?

7 best Linux mail servers of 2023

7 best cPanel alternatives for 2023

7 best Linux web browsers for 2023

7 best CentOS alternatives

7 best Linux server distros of 2023

Interview with Igor Seletskiy on AlmaLinux

How to create a VM and install a Linux distro on VMware Workstation

Recent News

  • Chinese 8220 Gang targets public clouds
  • RtBrick supports a hardened open switch from Edgecore
  • Weekly round-up: 23 – 27 January
  • Interview: Orly Izhaki, General Manager of Wix Restaurants
  • What is ChatGPT? Everything you need to know

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
  • How-Tos
  • Troubleshooting

RESOURCES

  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

Get the Cloud7 Newsletter

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

  • About
  • Privacy & Policy
  • Copyright Policy
  • Contact

© 2022, Cloud7 News. All rights reserved.

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

© 2022, Cloud7 News. 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
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.