CVE-2022-4833

YourChannel <= 1.2.1 - Missing Authorization Checks leading to Authenticated (Subscriber+) Stored Cross-Site Scripting

2023-01-13 00:00
István Márton

Strategic Overview

Status
Patched in 1.2.2
Affected Version
<= 1.2.1
CVSS
7.4High
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2022-4833
View all YourChannel: Everything you want in a YouTube plugin. vulnerabilities

At a glance

CVE-2022-4833 is a high-severity Missing Authorization vulnerability in the YourChannel WordPress plugin, affecting versions <= 1.2.1. It carries a CVSS score of 7.4 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 1.2.2; sites on affected versions should update now. Disclosed January 2023, reported by István Márton.

Vulnerability Overview

The YourChannel plugin for WordPress is vulnerable to authorization bypass due to a missing capability check on 'save', 'delete', 'deleteLang', and 'saveLang' functions in versions up to, and including, 1.2.1. This could lead to Cross-Site Scripting due to insufficient input sanitization and output escaping. This makes it possible for subscriber-level attackers to access functions to save or delete plugin data that can potentially lead to injected arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-862: Missing Authorization

YourChannel <= 1.2.1 carries this weakness at save, and reaching it takes an account at Subscriber level or above. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.

Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For YourChannel the fix is 1.2.2: builds <= 1.2.1 are affected, anything from 1.2.2 onward is not.

Remediation

Update to version 1.2.2, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: YourChannel 1.2.2 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C