Patchfirst
CVE-2021-45467 Public exploit Critical · 9.8 EPSS 70.7%

In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, an unauthenticated attacker can use %00 bytes to…

Summary

In Control Web Panel (CWP, also known as CentOS Web Panel), the flaw lies in the /user/loader.php component, where null-byte (%00) sequences in the scripts parameter are mishandled, leading to missing authorization checks. An unauthenticated remote attacker can exploit this over the network with no user interaction by sending a crafted request to /user/loader.php, using %00 bytes to cause an arbitrary API key to be registered, affecting versions before 0.9.8.1107.

Official description · CVE.org

In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, an unauthenticated attacker can use %00 bytes to cause /user/loader.php to register an arbitrary API key, as demonstrated by a /user/loader.php?api=1&scripts= .%00./.%00./api/account_new_create&acc=guadaapi URI. Any number of %00 instances can be used, e.g., .%00%00%00./.%00%00%00./api/account_new_create could also be used for the scripts parameter.

Breakdown
70.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
1
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 17 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+17 mo

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Unauthenticated web request exploits public-facing application

an unauthenticated attacker can use %00 bytes to cause /user/loader.php
From the official description (CVE.org) Original (opens in a new tab) ↗

PersistenceTA0003

Create Account T1136 Medium
AI mapping from the description · primary impact

Creates new account/API credentials, enabling persistence

to register an arbitrary API key
From the official description (CVE.org) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 152 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-45467 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 1 threat report
1 reportweb-assets.esetstatic.com

Reports are matched by finding the exact id CVE-2021-45467 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close