CVE-2023-0780: Improper Restriction of Rendered UI Layers or Frames in cockpit-hq/cockpit
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.39203%
CWE
Published
2/11/2023
Updated
2/22/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| cockpit-hq/cockpit | composer | < 2.3.9 | 2.3.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing X-Frame-Options headers in HTTP responses. The patch adds this header in the 'after' event handler in modules/App/admin.php. The anonymous function handling this event in vulnerable versions failed to implement frame restrictions, making UI layers susceptible to embedding via iframes. This matches CWE-1021's description of improper UI layer restriction.