CVE-2021-31316 SQL injection in n/a

Critical 9.8 Published Updated

An attacker can exploit SQL injection in the unprivileged user portal to read or modify database contents via the idsession parameter.

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

What is CVE-2021-31316?

CVE-2021-31316 is a critical SQL injection vulnerability in Control-Webpanel Webpanel, published on 18 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The unprivileged user portal part of CentOS Web Panel is affected by a SQL Injection via the 'idsession' HTTP POST parameter.

Weakness: CWE-89

Which versions are affected by CVE-2021-31316?

It affects 1 product.

Products include Control-Webpanel Webpanel.

How do I fix CVE-2021-31316?

No fix has been published for CVE-2021-31316 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-2021-31316 being exploited?

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

Public exploit code: 1 Nuclei template.

All Control-Webpanel Webpanel vulnerabilities

Sources

Also known as GHSA-jf3r-qxgj-64p2.

Is CVE-2021-31316 in your software?

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

Check your SBOMs for free