CVE-2023-22452 Improper Input Validation in kenny2automate

Medium 6.5 Published Updated

Attackers can modify settings for arbitrary Discord channels by submitting valid channel IDs to the web interface without proper ownership validation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-22452?

CVE-2023-22452 is a medium-severity missing authorization vulnerability in Kenny2github kenny2automate, published on 2 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

kenny2automate is a Discord bot. In the web interface for server settings, form elements were generated with Discord channel IDs as part of input names. Prior to commit a947d7c, no validation was performed to ensure that the channel IDs submitted actually belonged to the server being configured. Thus anyone who has access to the channel ID they wish to change settings for and the server settings panel for any server could change settings for the requested channel no matter which server it belonged to. Commit a947d7c resolves the issue and has been deployed to the official instance of the bot. The only workaround that exists is to disable the web config entirely by changing it to run on localhost. Note that a workaround is only necessary for those who run their own instance of the bot.

Weakness: CWE-20

Which versions are affected by CVE-2023-22452?

It affects 1 product.

Products include Kenny2automate Project Kenny2automate.

How do I fix CVE-2023-22452?

No fix has been published for CVE-2023-22452 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-22452 being exploited?

There is no known exploitation of CVE-2023-22452 in the wild and no public exploit code.

Sources

Also known as GHSA-73j8-xrcr-q6j7.

Is CVE-2023-22452 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free