CVE-2022-26982 Code injection in n/a

High 7.2 Published Updated

Authenticated administrators can execute arbitrary code by modifying themes, though the vendor considers this intended functionality.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-26982?

CVE-2022-26982 is a high-severity code injection vulnerability in n/a, published on 5 Apr 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

SimpleMachinesForum 2.1.1 and earlier allows remote authenticated administrators to execute arbitrary code by inserting a vulnerable php code because the themes can be modified by an administrator. NOTE: the vendor's position is that administrators are intended to have the ability to modify themes, and can thus choose any PHP code that they wish to have executed on the server.

Weakness: CWE-94

Which versions are affected by CVE-2022-26982?

It affects 1 product.

Products include Simplemachines Simple Machines Forum.

How do I fix CVE-2022-26982?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-26982 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-26982 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-qp86-p4j4-f3p8.

Is CVE-2022-26982 in your software?

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

Check your SBOMs for free