CVE-2024-31856 CyberPower PowerPanel business SQL Injection

High 8.8 Published Updated

Attackers with MQTT permissions can inject SQL to write files and execute remote code on CyberPower PowerPanel Business devices.

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-2024-31856?

CVE-2024-31856 is a high-severity SQL injection vulnerability in CyberPower PowerPanel business, published on 15 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An attacker with certain MQTT permissions can create malicious messages to all CyberPower PowerPanel devices. This could result in an attacker injecting SQL syntax, writing arbitrary files to the system, and executing remote code.

Weakness: CWE-89

Which versions are affected by CVE-2024-31856?

It affects 1 product.

Products include Cyberpower Powerpanel.

How do I fix CVE-2024-31856?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-31856 being exploited?

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

Sources

Also known as GHSA-qfq2-j4x8-f29x.

Is CVE-2024-31856 in your software?

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

Check your SBOMs for free