Tuesday, May 30, 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 > Cybersecurity > Critical flaws found in Control Web Panel

Critical flaws found in Control Web Panel

Security researchers discovered two critical vulnerabilities in Control Web Panel that expose Linux servers to remote code execution attacks.


Erdem Yasar Erdem Yasar
January 24, 2022
2 min read
Critical flaws found in Control Web Panel

Researchers at Octagon Networks announced that they have found two critical vulnerabilities, CVE-2021-45467 and CVE-2021-45466 in Control Web Panel, also known as CentOS Web Panel, which is installed in more than 200,000 unique servers. The vulnerability chain allows an attacker to exploit a full pre-auth remote command execution as the root uses file inclusion and file write vulnerabilities.

The attack surface

The researchers hosted CWP on a local environment and focused on vulnerabilities that can be exploited without user authentication or interaction. The /user/loader.php and /user/index.php can be accessed without authentication and had a file inclusion protection method, /user/loader.php.

<?php

if(!empty($_GET["api"])) {

…

        if (!empty($_GET["scripts"])) {

            $_GET["scripts"] = GETSecurity($_GET["scripts"]);

            include "../../resources/admin/scripts/" . $_GET["scripts"] . ".php";

        }

…

And GERSecurity() defined as:

function GETSecurity($variable)

{

    if (stristr($variable, ".." ) {

        exit("hacking attempt");

    }

 }

If “scripts” contains “..” then the application will not process the input and will instead exit by displaying the “hacking attempt” message. stristr() is basically the same function as strstr() in PHP except it isn’t case sensitive. Potential methods of bypassing stristr() are:

  • 1. Trick PHP to treat other characters as dot (.) 
  • 2. Find unique characters the language C processes as a dot (.) when lower cased. 
  • 3. Trick PHP into thinking there are no consecutive dots (..)

See more Cybersecurity News

A comprehensive guide to understanding Cybersecurity: What is Cybersecurity?


Tags: Octagon Networks
Erdem Yasar

Erdem Yasar

Erdem Yasar is a news editor at Cloud7. Erdem started his career by writing video game reviews in 2007 for PC World magazine while he was studying computer engineering. In the following years, he focused on software development with various programming languages. After his graduation, he continued to work as an editor for several major tech-related websites and magazines. During the 2010s, Erdem Yasar shifted his focus to cloud computing, hosting, and data centers as they were becoming more popular topics in the tech industry. Erdem Yasar also worked with various industry-leading tech companies as a content creator by writing blog posts and other articles. Prior to his role at Cloud7, Erdem was the managing editor of T3 Magazine.

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

Rackspace to acquire Just Analytics

Related News

ChatGPT brings concerns about cybersecurity and search engine rankings

ChatGPT brings concerns about cybersecurity and search engine rankings

May 5, 2023 6:00 pm
Ransomware: Paying the price twice

Ransomware: Paying the price twice

May 5, 2023 4:00 pm
CISA adds 3 more vulnerabilities to its catalogue

CISA adds 3 more vulnerabilities to its catalogue

May 2, 2023 4:20 pm
FIN7 attacks vulnerable Veeam servers

FIN7 attacks vulnerable Veeam servers

May 1, 2023 5:31 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.