CVE-2014-125051 himiklab yii2-jqgrid-widget JqGridAction.php addSearchOptionsRecursively sql injection

Medium 5.5 Published Updated

An attacker can execute arbitrary SQL commands via the addSearchOptionsRecursively function in the himiklab yii2-jqgrid-widget library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2014-125051?

CVE-2014-125051 is a medium-severity SQL injection vulnerability in himiklab yii2-jqgrid-widget, published on 6 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in himiklab yii2-jqgrid-widget up to 1.0.7. It has been declared as critical. This vulnerability affects the function addSearchOptionsRecursively of the file JqGridAction.php. The manipulation leads to sql injection. Upgrading to version 1.0.8 is able to address this issue. The name of the patch is a117e0f2df729e3ff726968794d9a5ac40e660b9. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217564.

Weakness: CWE-89

Which versions are affected by CVE-2014-125051?

2 open source packages ship an affected version, including himiklab/yii2-jqgrid-widget. It affects 1 product.

PackageAffectedFixed in
himiklab/yii2-jqgrid-widget PackagistAll versions1.0.8
himiklab/yii2-jqgrid-widget PackagistAll versions1.0.8

Products include Yii2-Jqgrid-Widget Project Yii2-Jqgrid-Widget.

How do I fix CVE-2014-125051?

Upgrade himiklab/yii2-jqgrid-widget to 1.0.8 or later.

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-2014-125051 being exploited?

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

Sources

Also known as GHSA-7mg5-rw39-q67f.

Is CVE-2014-125051 in your software?

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

Check your SBOMs for free